Best Practices for Django 1.8
by Daniel Roy Greenfeld, Audrey Roy Greenfeld
Table of Contents
- Authors' Notes
- Introduction
-
- Coding Style
-
- The Optimal Django Environment Setup
-
- How to Lay Out Django Projects
-
- Fundamentals of Django App Design
-
- Settings and Requirements Files
-
- Model Best Practices
-
- Queries and the Database Layer
-
- Function- and Class-Based Views
-
- Best Practices for Function-Based Views
-
- Best Practices for Class-Based Views
-
- Form Fundamentals
-
- Common Patterns for Forms
-
- Templates: Best Practices
-
- Template Tags and Filters
-
- Django Templates and Jinja2
-
- Building REST APIs
-
- Consuming REST APIs
-
- Tradeoffs of Replacing Core Components
-
- Working With the Django Admin
-
- Dealing With the User Model
-
- Django's Secret Sauce: Third-Party Packages
-
- Testing Stinks and Is a Waste of Money!
-
- Documentation: Be Obsessed
-
- Finding and Reducing Bottlenecks
-
- Asynchronous Task Queues
-
- Security Best Practices
-
- Logging: What's It For, Anyway?
-
- Signals: Use Cases and Avoidance Techniques
-
- What About Those Random Utilities?
-
- Deployment: Platforms as a Service
-
- Deploying Django Projects
-
- Continuous Integration
-
- The Art of Debugging
-
- Where and How to Ask Django Questions
-
- Closing Thoughts