Django is a web framework for the Python programming language: a set of libraries and conventions that handles the common parts of a web application, so developers write only the parts that are specific to their app. It was first built to meet the deadlines of a newsroom. Today the Django Software Foundation, a non-profit, and individual contributors develop it.
A Django project defines its data models as Python classes. The object-relational mapper (ORM) maps these classes to database tables and turns Python queries into SQL. Django builds an admin interface for the data automatically, renders HTML pages with its template system, and supports translation into other languages (internationalization). It also includes user authentication, site maps and RSS feeds, and it protects against common attacks such as SQL injection, cross-site scripting, cross-site request forgery and clickjacking.
Django is free and open source under the BSD-3-Clause license. The foundation is funded by donations, sponsors and memberships.