Python Web Development with Django

Python Web Development with Django

Jeff Forcier, Paul Bissex


utilizing the easy, powerful, Python-based Django framework, you could construct strong internet ideas with remarkably few strains of code. In Python net improvement with Django®, 3 skilled Django and Python builders disguise the entire thoughts, instruments, and ideas you want to utilize Django 1.0, together with all of the significant gains of the recent unencumber.

 

The authors educate Django via in-depth causes, plus supply large pattern code supported with pictures and line-by-line causes. You’ll notice how Django leverages Python’s improvement pace and adaptability that can assist you remedy a large spectrum of internet improvement difficulties and research Django most sensible practices lined nowhere else. You’ll construct your first Django program in precisely mins and deepen your real-world talents via start-to-finish software initiatives including

  • Simple net log (blog)
  • Online picture gallery
  • Simple content material administration approach
  • Ajax-powered reside blogger
  • Online resource code sharing/syntax highlighting device
  • How to run your Django purposes at the Google App Engine

 

This entire advisor starts off through introducing Python, Django, and internet improvement innovations, then dives into the Django framework, delivering a deep figuring out of its significant parts (models, perspectives, templates), and the way they arrive jointly to shape whole net purposes. After a dialogue of 4 self sufficient operating Django purposes, insurance turns to complex themes, equivalent to caching, extending the template procedure, syndication, admin customization, and checking out. worthy reference appendices conceal utilizing the command-line, fitting and configuring Django, improvement instruments, exploring current Django purposes, the Google App Engine, and the way to get extra concerned with the Django community.

 

 

Introduction 1

 

Part I: Getting Started

Chapter 1: functional Python for Django 7

Chapter 2: Django for the Impatient: construction a web publication 57

Chapter three: beginning Out 77

 

Part II: Django in Depth

Chapter four: Defining and utilizing types 89

Chapter five: URLs, HTTP Mechanisms, and perspectives 117

Chapter 6: Templates and shape Processing 135

 

Part III: Django functions via Example

Chapter 7: picture Gallery 159

Chapter eight: content material administration method 181

Chapter nine: Liveblog 205

Chapter 10: Pastebin 221

 

Part IV: complicated Django innovations and Features

Chapter eleven: complicated Django Programming 235

Chapter 12: complex Django Deployment 261

 

Part V: Appendices

Appendix A: Command Line fundamentals 285

Appendix B: fitting and working Django 295

Appendix C: instruments for useful Django improvement 313

Appendix D: discovering, comparing, and utilizing Django functions 321

Appendix E: Django at the Google App Engine 325

Appendix F: becoming concerned within the Django undertaking 337

 

Index 339

Colophon 375

Show sample text content

Download sample