mirror of
https://github.com/wsvincent/awesome-django.git
synced 2024-11-27 14:01:11 +00:00
A curated list of awesome things related to Django
README.md |
Awesome Django
A curated list of awesome things related to Django
Table of Contents
Resources
Official Resources
General Tutorials
- Django for Beginners - Build 3 apps from scratch: Hello World, Pages, and Message Board
- Django Girls Tutorial - Use FBVs to build a blog app
- Mozilla Tutorial - Create a lending library app
- A Complete Beginner's Guide to Django - In-depth and excellent walkthrough of a new Django app
External Resources
- Classy Class-Based Views - Detailed descriptions for each generic class-based view.
- Django Packages - Comprehensive directory of reusable Django apps and tools.
- William Vincent's Website - Up-to-date tutorials on Django and Django REST Framework.
- Simple is Better than Complex - Regularly updated website with many tutorials and tips on Django.
- Full Stack Python's Django Page - Explanation of Django philosophy and links to other resources and tutorials.
Starter Projects
- cookiecutter-django - very complete and deployment-ready
- djangox - complete user auth with email/password, pipenv, and more
- edge - user auth and 12-factor recommended security
- demo-allauth-bootstrap - example of new project with django-allauth
Example Apps: Beginner
- Hello, World app
- Message Board app
- Blog app with users and forms
- Newspaper app with custom user model, full user auth
- Behavior-Driven Development with Aloe
Example Apps: Advanced
- Zulip - open-source team chat
- django-oscar - e-commerce for Django
- django-cms - CMS for Django
Django REST Framework
The most popular way to build web APIs with Django.
DRF Resources
DRF Tutorials
- Official REST Framework - A Beginner's Guide
- DRF Blog API
- Building APIs with Django and DRF
- DRF Serializers, Viewsets, and Routers
- DRF Todo API with User Auth
- DRF User Authentication
DRF and React Tutorials
DRF Starter Projects
DRF Example Apps
- DRF Polls - API of the official Django polls tutorial
- DRF Blog - basic Blog API
- ECGC - example from DjangoCon 2017 talk Write an API for Almost Anything
Third-Party Packages
For a complete listing of all available packages, see Django Packages
- django-allauth - User registration, social authentication, account management, and more.
- django-compressor - Compress JavaScript/CSS into a single cached file
- django-crispy-forms - DRY Django forms
- django-debug-toolbar - Configurable panels to debug requests/responses
- django-environ - Environment variables
- django-extensions - Custom management extensions, notably
runserver_plus
andshell_plus
- django-filter - Powerful filters based on Django QuerySets
- django-guardian - Per object permissions in Django
- django-hijack - Admins can log in and work on behalf of other users without having to know their credentials
- django-model-utils - Django model mixins and utilities
- django-silk - Live profiling and inspection of HTTP requests and database queries
- django-storages - A single library to support multiple custom storage backends for Django
- django-tables2 - HTML tables with pagination/sorting
- django-test-plus - Useful additions to Django's default TestCase
- easy-thumbnails - Image thumbnails for Django
- pytest-django - Use pytest features in Django
- wagtail - Popular Django content management system (CMS)
- whitenoise - Simplified static file serving for Python websites
Django Rest Framework specific packages
- django-rest-auth - REST API endpoints for authentication and registration
- django-rest-framework - Web APIs for Django
- django-rest-framework-jwt - JSON web tokens for DRF
- django-rest-swagger - API document generator for Swagger UI
Books
- Django for Beginners: Learn web development with Django 2.0
- Hello Web App 2.0
- Django Design Patterns and Best Practices
- Building Django 2.0 Web Applications
- Two Scoops of Django: Best Practices for Django 1.11
- Build Your First Website with Python and Django 1.11
- Test-Driven Development with Python
- REST APIs with Django
- Django RESTful Web Services