awesome-django/README.md

297 lines
16 KiB
Markdown
Raw Normal View History

<div align="center">
2019-10-21 15:38:05 +00:00
<a href="https://github.com/sindresorhus/awesome#readme"><img src="https://awesome.re/badge-flat.svg" /></a>
<img width="400" src="django-logo.svg" alt="Django logo">
</div>
2019-01-10 16:02:38 +00:00
# Awesome Django
2018-11-08 18:05:21 +00:00
> A curated list of awesome things related to Django.
2018-04-11 13:01:07 +00:00
## Contents
2018-04-11 13:01:07 +00:00
- [Third-Party Packages](#third-party-packages)
- [Admin](#admin)
- [APIs](#apis)
- [Async](#async)
- [Content Management Systems](#content-management-systems)
- [ECommerce](#ecommerce)
- [Forms](#forms)
- [Models](#models)
- [Redis](#redis)
- [Search](#search)
- [Static Assets](#static-assets)
- [Testing](#testing)
- [Users](#users)
- [Views](#views)
- [URLs](#urls)
2019-01-16 14:23:47 +00:00
- [Resources](#resources)
2019-02-26 16:48:37 +00:00
- [Official](#official-resources)
- [External](#external-resources)
2019-01-16 17:27:12 +00:00
- [Community](#community)
- [Conferences](#conferences)
- [Conference YouTube Channels](#conference-youtube-channels)
2019-01-16 17:27:12 +00:00
- [Podcasts](#podcasts)
- [Tutorials](#tutorials)
- [Books](#books)
- [Courses](#courses)
- [Videos](#videos)
- [Hosting](#hosting)
- [PaaS](#paas)
- [IaaS](#iaas)
- [Projects](#projects)
- [Boilerplate](#boilerplate)
- [Open Source Projects](#open-source-projects)
2019-01-16 14:23:47 +00:00
- [Django REST Framework](#django-rest-framework)
- [Resources](#drf-resources)
- [Tutorials](#drf-tutorials)
- [DRF Boilerplate](#drf-boilerplate)
- [Open Source Apps](#drf-open-source-apps)
## Third-Party Packages
_For a complete listing of all available packages, see [Django Packages](https://djangopackages.org/)_
- [django-environ](https://github.com/joke2k/django-environ) - Environment variables
- [django-extensions](https://github.com/django-extensions/django-extensions/) - Custom management extensions, notably `runserver_plus` and `shell_plus`
- [django-filter](https://github.com/carltongibson/django-filter) - Powerful filters based on Django QuerySets
- [django-guardian](https://github.com/django-guardian/django-guardian) - Per object permissions in Django
- [django-sql-explorer](https://github.com/groveco/django-sql-explorer) - Share data via SQL queries
- [django-tables2](https://github.com/jieter/django-tables2) - HTML tables with pagination/sorting
### Admin
- [django-hijack](https://github.com/arteria/django-hijack) - Admins can log in and work on behalf of other users without having to know their credentials
- [django-import-export](https://github.com/django-import-export/django-import-export) - Import/export data more easily with admin integration
- [django-honeypot](https://github.com/jamesturk/django-honeypot/) - Configure a honeypot to see who's trying to hack your site
- [django-loginas](https://github.com/skorokithakis/django-loginas) - "Log in as user" for the Django admin
### APIs
- [django-rest-framework](https://github.com/encode/django-rest-framework) - Web APIs for Django
- [django-cors-headers](https://github.com/OttoYiu/django-cors-headers) - If your back-end and front-end are on different servers, you need this
- [django-rest-auth](https://github.com/Tivix/django-rest-auth) - REST API endpoints for authentication and registration
- [djoser](https://github.com/sunscrapers/djoser) - REST implementation of Django auth
- [django-rest-framework-simplejwt](https://github.com/davesque/django-rest-framework-simplejwt) - JSON web tokens for DRF
### Async
- [channels](https://github.com/django/channels/) - Async support for Django
- [starlette](https://github.com/encode/starlette) - ASGI framework
### Content Management Systems
- [wagtail](https://github.com/wagtail/wagtail) - Popular Django content management system (CMS)
- [mezzanine](https://github.com/stephenmcd/mezzanine) - CMS framework
- [django-cms](https://github.com/divio/django-cms) - CMS for Django
### ECommerce
- [django-shop](https://github.com/awesto/django-shop) - Django-based shop system
### Forms
- [django-crispy-forms](https://github.com/django-crispy-forms/django-crispy-forms/) - DRY Django forms
- [django-autocomplete-light](https://github.com/yourlabs/django-autocomplete-light) - Add autocompletion to forms
- [django-shapeshifter](https://github.com/kennethlove/django-shapeshifter) - A CBV to handle multiple forms in one view
### Models
- [django-model-utils](https://github.com/jazzband/django-model-utils) - Django model mixins and utilities
- [django-taggit](https://github.com/jazzband/django-taggit/) - Simple model tags
- [django-reversion](https://github.com/etianen/django-reversion) - Version control for model instances
### Redis
- [django-rq](https://github.com/rq/django-rq) - Integration for Redis Queue
- [django-redis](https://github.com/niwinz/django-redis) - Full featured redis cache backend for Django
### Search
- [django-haystack](https://github.com/django-haystack/django-haystack) - Modular search for Django
- [django-watson](https://github.com/etianen/django-watson) - Full-text search plugin
### Static Assets
- [django-storages](https://github.com/jschneier/django-storages) - A single library to support multiple custom storage backends for Django
- [django-compressor](https://github.com/django-compressor/django-compressor/) - Compress JavaScript/CSS into a single cached file
- [whitenoise](https://github.com/evansd/whitenoise) - Simplified static file serving for Python websites
- [easy-thumbnails](https://github.com/SmileyChris/easy-thumbnails) - Image thumbnails for Django
### Testing
- [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar/) - Configurable panels to debug requests/responses
- [pytest-django](https://github.com/pytest-dev/pytest-django) - Use pytest features in Django
- [django-test-plus](https://github.com/revsys/django-test-plus/) - Useful additions to Django's default TestCase
- [factory-boy](https://github.com/FactoryBoy/factory_boy) - Test fixtures replacement
- [django-silk](https://github.com/jazzband/django-silk) - Live profiling and inspection of HTTP requests and database queries
- [django-waffle](https://github.com/django-waffle/django-waffle) - A feature flipper for Django
### sunscrapers
- [django-allauth](https://github.com/pennersr/django-allauth/) - Improved user registration including social auth
- [django-organizations](https://github.com/bennylope/django-organizations/) - Multi-user accounts for Django projects
### Views
- [django-extra-views](https://github.com/AndrewIngram/django-extra-views) - Extra class-based generic views
- [django-vanilla-views](https://github.com/tomchristie/django-vanilla-views) - Simpler class-based views in Django
### URLs
- [dj-database-url](https://github.com/kennethreitz/dj-database-url) - Database URLs
- [urlman](https://github.com/andrewgodwin/urlman) - A nicer way to do URLs for Django models
2018-04-11 13:04:07 +00:00
2018-04-11 13:01:07 +00:00
## Resources
### Official Resources
2019-04-08 12:41:24 +00:00
- [Project Website](https://www.djangoproject.com/) - Official Django website
- [Documentation](https://docs.djangoproject.com/en/dev/) - Comprehensive documentation for all Django versions
- [Polls Tutorial](https://docs.djangoproject.com/en/dev/intro/tutorial01/) - Build a polls tutorial while learning Django internals
2019-10-21 17:29:47 +00:00
- [Source Code](https://github.com/django/django/) - Hosted on Github
2018-04-26 13:39:51 +00:00
2019-01-10 14:49:00 +00:00
### External Resources
2019-10-21 17:29:47 +00:00
- [William Vincent's Website](https://wsvincent.com/) - Up-to-date tutorials on Django and Django REST Framework.
- [Django Packages](https://djangopackages.org/) - Comprehensive directory of reusable Django apps and tools.
2019-10-21 17:29:47 +00:00
- [Classy Class-Based Views](https://ccbv.co.uk/) - Detailed descriptions of methods/properties/attributes for each generic class-based view.
- [Classy Django Forms](https://github.com/ana-balica/classy-django-forms) - Detailed descriptions of methods/properties/attributes for each form class.
- [Classy Django REST Framework](https://www.cdrf.co/) - Detailed descriptions with methods/attributes for DRF class-based views and serializers.
- [Django Sites](https://www.djangosites.org/) - Comprehensive listing of sites built with Django.
- [Pony Checkup](https://www.ponycheckup.com/) - Security checkups for Django sites.
- [Django Hunter](https://github.com/6IX7ine/djangohunter) - Tool to help identify incorrectly configured Django applications that are exposing sensitive information.
- [Simple is Better than Complex](https://simpleisbetterthancomplex.com/) - Regularly updated website with many tutorials and tips on Django.
- [Full Stack Python's Django Page](https://www.fullstackpython.com/django.html) - Explanation of Django philosophy and links to other resources and tutorials.
2019-01-28 20:03:40 +00:00
- [RealPython](https://realpython.com/tutorials/django/) - Many high-quality tutorials on Django.
- [TestDriven](https://testdriven.io/blog/) - Multiple Django-specific tutorials on topics like Docker, payments, and more.
2019-01-10 14:49:00 +00:00
### Community
2019-10-21 17:29:47 +00:00
- [Django Forum](https://forum.djangoproject.com/) - Discourse Board
- [Django Users Google Group](https://groups.google.com/forum/#!forum/django-users/) - Very active discussion board for questions/answers.
- [Developers Google Group](https://groups.google.com/forum/#!forum/django-developers/) - For contributions to Django itself only.
- [Twitter](https://twitter.com/djangoproject/) - For official announcements on updates, security fixes, etc.
2019-01-28 20:03:40 +00:00
- IRC Channel - Chat with other Django users at irc://irc.freenode.net/django
2019-01-10 14:49:00 +00:00
2019-01-10 14:58:19 +00:00
### Conferences
- [DjangoCon US](https://2019.djangocon.us/)
- [DjangoCon Europe](https://2019.djangocon.eu/)
- [PyCon US](https://us.pycon.org/2019/)
2019-04-29 13:04:34 +00:00
- [PyCon Australia](https://2019.pycon-au.org/)
- [Euro Python](https://ep2019.europython.eu/)
- [Complete listing of all PyCons globally](https://www.pycon.org/)
2019-01-10 14:58:19 +00:00
2019-01-16 14:23:47 +00:00
### Conference YouTube Channels
- [DjangoCon US](https://www.youtube.com/channel/UC0yY6a79pPY9J0ShIHRf6yw)
- [DjangoCon Europe](https://www.youtube.com/user/djangoconeurope)
- [PyCon US](https://www.youtube.com/channel/UCsX05-2sVSH7Nx3zuk3NYuQ)
- [EuroPython](https://www.youtube.com/user/PythonItalia)
- [PyCon Australia](https://www.youtube.com/user/PyConAU)
- [Django Under the Hood](https://www.youtube.com/channel/UC9T1dhIlL_8Va9DxvKRowBw/videos)
2019-01-16 14:23:47 +00:00
2019-01-10 14:58:19 +00:00
2019-01-10 15:03:33 +00:00
### Podcasts
2019-10-21 17:29:47 +00:00
- [Django Chat](https://djangochat.com/) - A weekly podcast from William Vincent and Django Fellow Carlton Gibson with discussions of core Django concepts and regular guests.
2019-04-08 12:43:31 +00:00
- [TalkPython](https://talkpython.fm/) - The leading Python podcast with several episodes on Django.
2019-10-21 17:29:47 +00:00
- [Podcast Init](https://www.pythonpodcast.com/) - A popular Python podcast that features Django guests on occasion.
2019-01-10 15:12:14 +00:00
### Tutorials
- [Django Girls Tutorial](https://tutorial.djangogirls.org/en/) - Use function-based views to build a blog app.
- [Django for Beginners](https://djangoforbeginners.com/) - Use class-based views to build three apps of increasing complexity (part of a full-length book).
- [Mozilla Tutorial](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django) - Create a lending library app.
- [A Complete Beginner's Guide to Django](https://simpleisbetterthancomplex.com/series/beginners-guide/1.11/) - In-depth and excellent walkthrough of a new Django app
- [Build a HackerNews clone](https://medium.com/@danieldng/a-little-hacker-news-in-django-part-1-f12aa81dc25d) - Very well-done tutorial for Django 2.0.
2018-04-11 13:01:07 +00:00
### Books
_Django 2.2_
- [Django for Beginners: Build websites with Python and Django](https://djangoforbeginners.com/)
- [Django for APIs: Build web APIs with Python and Django](https://djangoforapis.com/)
2019-10-21 17:29:47 +00:00
- [Django for Professionals: Production websites with Python and Django](https://djangoforprofessionals.com/)
- [Tango with Django](https://www.tangowithdjango.com/)
2019-04-08 12:41:24 +00:00
_Django 2.1_
2019-10-21 17:29:47 +00:00
- [Build Your First Website with Django 2.1](https://djangobook.com/build-your-first-website-with-django-2-1/)
- [Practical Django 2 and Channels 2](https://www.amazon.com/dp/1484240987/)
- [Django 2 Web Development Cookbook](https://www.amazon.com/dp/1788837681/)
_Django 2.0_
- [Hello Web App 2.0](https://hellowebbooks.com/learn-django/)
2019-10-21 17:29:47 +00:00
- [Django Design Patterns and Best Practices](https://www.amazon.com/dp/1788831349/)
- [Django 2 by Example](https://www.amazon.com/dp/1788472489/)
_Django 1.11_
2019-10-21 17:29:47 +00:00
- [Two Scoops of Django: Best Practices for Django 1.11](https://www.amazon.com/dp/0692915729/)
- [Test-Driven Development with Python](https://www.amazon.com/dp/1491958707/)
- [Django RESTful Web Services](https://www.amazon.com/dp/1788833929/)
- [Beginning Django](https://www.amazon.com/dp/1484227867/)
### Courses
2019-10-21 17:29:47 +00:00
- [Developing a Real-Time Taxi App with Django Channels and Angular](https://testdriven.io/courses/real-time-app-with-django-channels-and-angular/)
### Videos
- [Python Django Crash Course 2019 by Traversy Media](https://youtu.be/e1IyzVyrLSU)
- [Full Stack React & Django by Traversy Media](https://youtu.be/Uyei2iDA4Hs)
- [Just Django](https://www.youtube.com/channel/UCRM1gWNTDx0SHIqUJygD-kQ)
- [Python Django Tutorial by Corey Schafer](https://youtu.be/UmljXZIypDc)
- [CS50's Web Programming with Python and JavaScript](https://www.youtube.com/playlist?list=PLhQjrBD2T382hIW-IsOVuXP1uMzEvmcE5)
2018-04-11 13:01:07 +00:00
## Hosting
2018-04-26 13:39:51 +00:00
### PaaS (Platforms-as-a-Service)
- [Heroku](https://www.heroku.com/)
2019-10-21 17:29:47 +00:00
- [PythonAnywhere](https://www.pythonanywhere.com/details/django_hosting/)
- [Divio](https://www.divio.com/)
- [Microsoft Azure](https://azure.microsoft.com/en-us/develop/python/)
- [AWS CodeStar](https://aws.amazon.com/codestar/)
- [Google Cloud](https://cloud.google.com/python/django/)
2019-10-21 17:29:47 +00:00
- [Zeit Now](https://zeit.co/now/)
- [Dokku](https://dokku.viewdocs.io/dokku/)
- [Render](https://render.com/)
### IaaS (Infrastructure-as-a-Service)
- [Digital Ocean](https://m.do.co/c/c0a588a8bb9e)
- [Linode](https://www.linode.com/?r=70d00cc48f300a318474ba61cb7e7663b6e1531b)
- [Amazon Lightsail](https://aws.amazon.com/lightsail/)
## Projects
### Boilerplate
2019-10-21 17:29:47 +00:00
- [cookiecutter-django](https://github.com/pydanny/cookiecutter-django/) - A full-bodied starter project, highly customizable.
- [djangox](https://github.com/wsvincent/djangox/) - A simpler approach with complete user authentication flow, Pipenv, and more.
- [DRFx](https://github.com/wsvincent/drfx/) - A DRF starter with user auth, Pipenv, and other goodies.
- [django-starter-project](https://github.com/jpadilla/django-project-template) - A deliberately basic project that has multiple staging environments and Heroku deployment config.
2019-10-21 17:29:47 +00:00
- [docker-django](https://github.com/erroneousboat/docker-django/) - A quick starter guide for Django and Docker together.
- [ponee](https://github.com/valentinogagliardi/ponee/) - A lightweight Django template ready for Heroku.
- [wemake-django-template](https://github.com/wemake-services/wemake-django-template/) - Bleeding edge Django template focused on code quality and security.
- [django2-project-template](https://github.com/vigo/django2-project-template/) - A quick starter template with PostgreSQL.
2018-04-26 13:39:51 +00:00
### Open Source
2019-10-21 17:29:47 +00:00
- [Hello, World](https://github.com/wsvincent/djangoforbeginners/tree/master/ch2-hello-world-app/)
- [Message Board](https://github.com/wsvincent/djangoforbeginners/tree/master/ch4-message-board-app/)
- [Blog app with users and forms](https://github.com/wsvincent/djangoforbeginners/tree/master/ch7-blog-app-with-users/)
- [Newspaper app with custom user model, full user auth](https://github.com/wsvincent/djangoforbeginners/tree/master/ch15-comments)
2019-10-21 17:29:47 +00:00
- [Behavior-Driven Development with Aloe](https://github.com/testdrivenio/django-aloe-bdd/)
- [Image Sharing Blog](https://github.com/MeNsaaH/soMedia)
2019-07-15 15:34:01 +00:00
- [Bootcamp: An enterprise social network](https://github.com/vitorfs/bootcamp)
2019-10-21 17:29:47 +00:00
- [Zulip](https://github.com/zulip/zulip/) - Open-source team chat
- [django-oscar](https://github.com/django-oscar/django-oscar/) - E-commerce for Django
- [saleor](https://github.com/mirumee/saleor/) - E-commerce storefront
- [Django-CRM](https://github.com/MicroPyramid/Django-CRM/) - Open Source Python CRM based on Django
2018-11-08 18:11:23 +00:00
2018-05-31 00:35:43 +00:00
## Django REST Framework
2018-04-26 13:39:51 +00:00
_The most popular way to build web APIs with Django._
2018-04-11 17:31:07 +00:00
2018-04-11 17:32:31 +00:00
### DRF Resources
2018-04-26 13:39:51 +00:00
2019-10-21 17:29:47 +00:00
- [Official Documentation](https://www.django-rest-framework.org/)
- [DRF Source Code](https://github.com/encode/django-rest-framework)
- [DRF](https://github.com/nioperas06/awesome-django-rest-framework)
2018-04-11 17:31:07 +00:00
2018-04-11 17:32:31 +00:00
### DRF Tutorials
2018-04-26 13:39:51 +00:00
- [Official REST Framework - A Beginner's Guide](https://wsvincent.com/official-django-rest-framework-tutorial-beginners-guide/)
- [DRF Blog API](https://wsvincent.com/django-rest-framework-tutorial/)
- [Building APIs with Django and DRF](https://books.agiliq.com/projects/django-api-polls-tutorial/en/latest/)
- [DRF with React: Todo API](https://wsvincent.com/django-rest-framework-react-tutorial/)
- [DRF with React](https://www.valentinog.com/blog/tutorial-api-django-rest-react/)
- [Making React and Django play well together](https://fractalideas.com/blog/making-react-and-django-play-well-together/)
2018-04-11 17:31:07 +00:00
2019-01-16 17:25:28 +00:00
2018-04-11 13:01:07 +00:00
### License
2018-04-26 13:39:51 +00:00
2019-10-21 17:29:47 +00:00
[![CC0](https://licensebuttons.net/p/zero/1.0/88x31.png)](https://creativecommons.org/publicdomain/zero/1.0/)