Django (web framework)
Django ( ; sometimes stylized as django) is a free and open-source, Python-based web framework that runs on a web server. It follows the model–template–views (MTV) architectural pattern. It is maintained by the Django Software Foundation (DSF), an independent organization established in the US as a 501(c)(3) non-profit. Django's primary goal is to ease the creation of complex, database-driven websites. The framework emphasizes reusability and "pluggability" of components, less code, low coupling, rapid development, and the principle of don't repeat yourself. Python is used throughout, even for settings, files, and data models. Django also provides an optional administrative create, read, update and delete interface that is generated dynamically through introspection and configured via admin models. Some well-known sites that use Django include Instagram, Mozilla, Disqus, Bitbucket, Nextdoor, and Clubhouse.
Django ( ; sometimes stylized as django) is a free and open-source, Python-based web framework that runs on a web server. It follows the model–template–views (MTV) architectural pattern. It is maintained by the Django Software Foundation (DSF), an independent organization established in the US as a 501(c)(3) non-profit. Django's primary goal is to ease the creation of complex, database-driven websites. The framework emphasizes reusability and "pluggability" of components, less code, low coupling, rapid development, and the principle of don't repeat yourself. Python is used throughout, even for settings, files, and data models. Django also provides an optional administrative create, read, update and delete interface that is generated dynamically through introspection and configured via admin models. Some well-known sites that use Django include Instagram, Mozilla, Disqus, Bitbucket, Nextdoor, and Clubhouse. ==History== Django was created in the autumn of 2003, when the web programmers at the Lawrence Journal-World newspaper, Adrian Holovaty and Simon Willison, began using Python to build applications. Jacob Kaplan-Moss was hired early in Django's development shortly before Willison's internship ended. It was released publicly under a BSD license in July 2005. The framework was named after guitarist Django Reinhardt. Holovaty is a romani jazz guitar player inspired in part by Reinhardt's music. In June 2008, it was announced that a newly formed Django Software Foundation (DSF) would maintain Django in the future. ==Features== ===Components=== Despite having its own nomenclature, such as naming the callable objects generating the HTTP responses "views", the core Django framework can be seen as an MVC architecture. It consists of an object–relational mapper (ORM) that mediates between data models (defined as Python classes) and a relational database ("Model"), a system for processing HTTP requests with a web templating system ("View"), and a regular-expression-based URL dispatcher ("Controller"). Also included in the core framework are: a lightweight and standalone web server for development and testing a form serialization and validation system that can translate between HTML forms and values suitable for storage in the database a template system that utilizes the concept of inheritance borrowed from object-oriented programming a caching framework that can use any of several cache methods support for middleware classes that can intervene at various stages of request processing and carry out custom functions an internal dispatcher system that allows components of an application to communicate events to each other via pre-defined signals an internationalization system, including translations of Django's own components into a variety of languages a serialization system that can produce and read XML and/or JSON representations of Django model instances a system for extending the capabilities of the template engine an interface to Python's built-in unit test framework ===Bundled applications=== The main Django distribution also bundles a number of applications in its "contrib" package, including: an extensible authentication system the dynamic administrative interface tools for generating RSS and Atom syndication feeds a "Sites" framework that allows one Django installation to run multiple websites, each with their own content and applications tools for generating Sitemaps built-in mitigation for cross-site request forgery, cross-site scripting, SQL injection, password cracking and other typical web attacks, most of them turned on by default a framework for creating geographic information system (GIS) applications ===Extensibility=== Django's configuration system allows third-party code to be plugged into a regular project, provided that it follows the reusable app conventions. More than 5000 packages are available to extend the framework's original behavior, providing solutions to issues the original tool didn't tackle: registration, search, API provision and consumption, CMS, etc. This extensibility is, however, mitigated by internal components' dependencies. While the Django philosophy implies loose coupling, the template filters and tags assume one engine implementation, and both the auth and admin bundled applications require the use of the internal ORM. None of these filters or bundled apps are mandatory to run a Django project, but reusable apps tend to depend on them, encouraging developers to keep using the official stack in order to benefit fully from the apps ecosystem. ===Server arrangements=== Django can be run on ASGI or WSGI-compliant web servers. Django officially supports five database backends: PostgreSQL, MySQL, MariaDB, SQLite, and Oracle. Microsoft SQL Server can be used with mssql-django. ==Version history== The Django team will occasionally designate certain releases to be "long-term support" (LTS) releases. LTS releases will get security and data loss fixes applied for a guaranteed period of time, typically 3+ years, regardless of the pace of releases afterwards. ==Ports to other languages== Programmers have ported Django's template engine design from Python to other languages, providing decent cross-platform support. Some of these options are more direct ports; others, though inspired by Django and retaining its concepts, take the liberty to deviate from Django's design: Liquid for Ruby Template::Swig for Perl Twig for PHP and JavaScript Jinja for Python ErlyDTL for Erlang ==CMSs based on Django Framework== Django as a framework is capable of building a complete CMS. Some dedicated CMS projects are based upon Django: Django CMS Wagtail Mezzanine ==See also== FastAPI Flask Pylons project Web2py Tornado List of rich web application frameworks Ruby on Rails Comparison of web frameworks ==References== ==Bibliography== ==External links==
References
- ^ Robenolt, Matt. "Scaling Django to 8 Billion Page Views" . blog.disqus.com . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "DjangoSuccessStoryBitbucket – Django" . Archived from the original on 20 April 2016 . Retrieved 30 April 2016 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "The anti-Facebook: one in four American neighborhoods are now using this private social network" . The Verge . 18 August 2014 . Retrieved 16 June 2016 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ Demi, Luke (15 August 2021). "Reining in the thundering herd ⛈ Getting to 80% CPU utilization with Django" . Clubhouse Blog . Retrieved 16 August 2021 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ Willison, Simon . "What is the history of the Django web framework? Why has it been described as "developed in a newsroom"?" . Quora . Retrieved 18 October 2019 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Review: Adrian Holovaty's Playful and Precise 'Melodic Guitar Music' " . Acoustic Guitar . 12 December 2023. Archived from the original on 30 December 2023. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Announcing the Django Software Foundation - Weblog - Django" . 17 June 2008 . Retrieved 30 April 2016 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Security in Django" . Django Project . Retrieved 25 March 2013 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ Socol, James (2012). "Best Basic Security Practices (Especially with Django)" . Retrieved 25 March 2013 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django FAQ" . Retrieved 27 March 2019 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "What is a reusable app? — django-reusable-app-docs 0.1.0 documentation" . Retrieved 30 April 2016 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django Packages API packages list" . Retrieved 17 April 2023 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Design philosophies - Django documentation - Django" . Archived from the original on 4 March 2016 . Retrieved 30 April 2016 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Built-in template tags and filters" . djangoproject . Retrieved 6 August 2025 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ How to deploy Django . Official Django documentation. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django documentation" . Django documentation . Retrieved 23 February 2025 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django's release process - Django documentation - Django" . Retrieved 23 February 2025 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Download Django - Django" . www.djangoproject.com . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "FAQ: Installation - Django documentation - Django" . docs.djangoproject.com . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Introducing Django 0.90" . Django weblog. Retrieved 2 February 2013. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 0.91 released" . Django weblog. Retrieved 2 February 2013. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Introducing Django 0.95" . Django weblog. Retrieved 2 February 2013. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Announcing Django 0.96!" . Django weblog. Retrieved 2 February 2013. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 1.0 released!" . Django weblog. Retrieved 2 February 2013. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 1.1 released" . Django weblog. Retrieved 2 February 2013. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 1.2 released" . Django weblog. Retrieved 2 February 2013. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 1.3 released" . Django weblog. Retrieved 2 February 2013. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 1.4 released" . Django weblog. Retrieved 2 February 2013. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 1.5 released" Django weblog. Retrieved 27 February 2013. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 1.6 released" Django weblog. Retrieved 6 November 2013. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "FAQ: General - Django documentation - Django" . Retrieved 30 April 2016 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 1.7 released" Django weblog. Retrieved 4 September 2014. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 1.8 released" Django weblog. Retrieved 2 April 2015. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 1.9 released" Django weblog. Retrieved 1 December 2015. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 1.10 released" Django weblog. Retrieved 1 August 2016. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 1.11 released" Django weblog. Retrieved 4 April 2017. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 2.0 released" Django weblog. Retrieved 3 December 2017. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 2.1 released" Django weblog. Retrieved 2 August 2018. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Django 6.0 release notes" . Django Project . 3 December 2025 . Retrieved 3 December 2025 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ DjangoCon EU series Archived 4 March 2016 at the Wayback Machine , Lanyrd.com Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ DjangoCon US series Archived 2 April 2016 at the Wayback Machine , Lanyrd.com Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "DjangoCon" . DjangoCon. Archived from the original on 5 August 2012 . Retrieved 29 July 2012 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "DjangoCon" . DjangoCon . Retrieved 1 December 2016 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "DjangoCon" . DjangoCon. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "DjangoCon" . DjangoCon. Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "About DjangoCon US 2023" . DjangoCon US . Retrieved 17 July 2024 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "About DjangoCon US" . DjangoCon US . Retrieved 17 July 2024 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ US, DjangoCon (9 July 2025). "DjangoCon US 2025" . DjangoCon US . Retrieved 20 July 2025 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ Kaplan-Moss, Jacob. "EuroDjangoCon 2009" . Django . Django Software Foundation . Retrieved 30 June 2026 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ Zapke-Gründemann, Markus. "DjangoCon Europe, 24. - 26.5.2010 in Berlin" . Google Groups . Retrieved 30 June 2026 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Design Philosophies" . Django . Retrieved 18 March 2018 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ Keith-Magee, Russell. "DjangoCon Europe 2011 announced" . Django . Django Software Foundation . Retrieved 30 June 2026 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Home - 2012.djangocon.eu" . 2012.djangocon.eu . Retrieved 20 July 2025 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "DjangoCon Europe 2015 in Cardiff, Wales" . 2015.djangocon.eu . Archived from the original on 7 December 2015 . Retrieved 1 July 2026 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "DjangoCon Europe 2016" . 2016.djangocon.eu . Archived from the original on 5 December 2017 . Retrieved 1 July 2026 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "DjangoCon Europe 2018" . 2018.djangocon.eu . Retrieved 20 July 2025 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "Join us in Copenhagen April 10-14th 🚲 • DjangoCon Europe 2019" . 2019.djangocon.eu . Retrieved 20 July 2025 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "DjangoCon Europe 2020" . 2020.djangocon.eu . Retrieved 20 July 2025 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "DjangoCon Europe 2021" . 2021.djangocon.eu . Retrieved 20 July 2025 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
- ^ "DjangoCon Europe 2022" . 2022.djangocon.eu . Retrieved 20 July 2025 . Wikipedia revision 1378086273, retrieved 2026-11-18 · 1794956400.0
Cite this
"Django (web framework)". 1790971760. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1378086273 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy