Easily build maintainable websites with powerful and relevant Django design patterns
Learning how to write better Django code to build more maintainable websites either takes a lot of experience or familiarity with various design patterns. Filled with several idiomatic Django patterns, Django Design Patterns and Best Practices accelerates your journey into the world of web development.
Discover a set of common design problems, each tackling aspects of Django including model design and Views, and learn several recommended solutions with useful code examples and illustrations. You'll also get to grips with the current best practices in the latest versions of Django and Python. Creating a successful web application involves much more than Django, so advanced topics including REST, testing, debugging, security, and deployment are also explored in detail.
What You Will Learn
Understand common design patterns that can help you write better Django code
Discover the latest best practices and idioms in this rapidly evolving framework
Deep dive into various aspects of Django from Models and Views to testing and deployment
Get to grips with difficult topics such as dealing with legacy code and debugging
Familiarize yourself with the various nuances of web development such as browser attacks and databases
Reduce the maintenance burden with well-tested, cleaner code
Show your work to the world by learning about hosting, deploying, and securing your Django projects
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.