Skip to content

Latest commit

 

History

History
49 lines (43 loc) · 1.37 KB

Two Scoops of Django.md

File metadata and controls

49 lines (43 loc) · 1.37 KB

Two Scoops of Django

Best Practices for Django 1.8
by Daniel Roy Greenfeld, Audrey Roy Greenfeld


Table of Contents

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