Django Example Projects and Code
Djangoweb framework

Part of Django's widespread adoption comes from its broad ecosystem of open source code libraries and example projects.

It is a good idea to familiarize yourself with the following projects to learn what is available to you beyond the extensive "batteries-included" code base.

These projects, ordered alphabetically, are also helpful as example code for how to build your own applications.

Code Examples Sorted by Django Class and Function

Specific examples are shown on the following individual pages, organized by classes and functions provided by Django, that are frequently used when building your own web applications.

Example Projects with Great Example Code

The following active projects use the Django framework in various ways that can show you how to build your own applications.

dccnsys

dccnsys is a conference registration system built with Django. The code is open source under the MIT license.

dmd-interpreter

dmd-interpreter (running web app) is a Python tool to aggregate clinically relevant information related to variants in the DMD gene and display that data to a user with a Django web application.

Django REST Framework Action Serializer

drf-action-serializer (PyPI page) is an extension for Django REST Framework that makes it easier to configure specific serializers to use based on the client's request action. For example, a list view should have one serializer whereas the detail view would have a different serializer.

The project is open source under the MIT license.

Gadget Board

gadget-board is a Django, Django REST Framework (DRF) and Angular web application that is open source under the Apache2 license.

Graphite-Web

Graphite (project website, documentation and PyPI package information) is a metrics collection and visualization tool, built with both Python and JavaScript. Metrics are collected by a Node.js application and displayed using a Django web application, called "Graphite-Web", which is one of three core projects under the Graphite umbrella (the other two are Carbon and Whisper).

Graphite is provided as open sourced under the Apache License 2.0.

Jazzband's website

jazzband is a Django-based web application that runs a website with information on many Django projects such as django-debug-toolbar and django-taggit.

The project's code is provided as open source under the MIT license.

Register

register is a Django, Bootstrap, PostgreSQL project that is open source under the GNU General Public License v3.0. This web application makes it easier for people to register as organ donors. You can see the application live at https://register.organize.org/.