Django 2.0.3

Django is a high-level Python Web-MVC framework for RAD with clean and pragmatic code. It's comparatively fast, integrates moderns security features, and is very scalable. It prefers explicit configuration over implicit conventions, has an object-relational database mapper, autogenerated admin interfaces, flexible regex-based URL dispatching, internationalization features, a custom templating engine or Jinja2, caching, authentication or authorization, a user comment plugin, RSS/Atom and sitemap modules, GeoIP integration.

Tags python django orm web-mvc web-development routing authorization developers
License BSDL
State stable

Recent Releases

2.0.307 Mar 2018 13:05 minor feature: Set the foreground color to black in CSRF and 404 err . . Refs #28595 -- Added a hook to add execute wrappers for database quer . . Added a test for QuerySet.select_related() reverse caching. . Refs #28593 -- Made URLResolver._populate() more resilient to signal . . Removed unused eof argument to BoundaryIter._find_boundary(). . - Added FilteredRelation API for conditional join (ON c . . 2.0.x Bumped django_next_version in docs config. . 2.0.x Updated man page for Django 2.0 alpha. . 2.0.x Removed empty sections in 2.0 release notes. . 2.0.x Bumped version to 2.0 alpha 1. . 2.0.x Bumped trove classifier for 2.0 alpha 1. . 2.0.x Refs #27788 -- Corrected minimum supported Oracle version in . . 2.0.x Refs #25006 -- Marked again admin time picker shortcuts for t . . 2.0.x Updated translation catalogs. . 2.0.x JS linter error. . 2.0.x Reverted "- password reset tokens being v . . 2.0.x Merged startswith() calls. . 2.0.x - Added slug converter to some path() examples . . 2.0.x Clarified StrIndex docs example. . 2.0.x - DecimalValidator handling of positive e . . 2.0.x - Distinguished DATABASES 'TIME_ZONE' from set . . 2.0.x - Made tree.Node instances hashable. . 2.0.x Refs #28492 -- Defined aggregates' output_field at the class . . 2.0.x - typo in docs/ref/contrib/postgres/field . . 2.0.x - Corrected typo in docs/topics/db/queries.txt. . 2.0.x - Added missing ForeignKey.on_delete argument i . . 2.0.x - Made MySQL raise IntegrityError rather than O . . 2.0.x Refs #27025, #28593 -- "invalid escape sequence" warnin . . 2.0.x Refs #28677 -- Doc'd that on_delete is required in migrations. . 2.0.x - QuerySet.bulk_create() and cascade dele . . 2.0.x Added release date for 1.11.6. . 2.0.x Added stub release notes for 1.11.7. . 2.0.x Refs #24254 -- Removed unnecessary SQL AS clause in SQLCompil . . 2.0.x Refs #23919 -- Corrected django.utils.http.urlencode()'s docu . . 2.0.x - awkward
2.0.202 Feb 2018 09:45 minor feature: Added a test for mixing args and kwargs in reverse(). . a Dutch translation in i18n tests. . Refs #24031 -- Added test for When.__repr__(). . Removed unnecessary check in SQLCompiler.get_related_selections(). . - Added caching for hstore/citext OIDs. . Simplified Count.convert_value() and RegrCount.convert_value(). . Removed unneeded StdDev.convert_value() and Variance.convert_value(). . - Added responsive CSS for the admin. . Refs #21286 -- Enabled serializer tests with time pk model. . Revert "Refs #21286 -- Enabled serializer tests with time pk model". . Changed default value of DatabaseFeatures.has_bulk_insert to True. . Added test skipping for a PostgreSQL JSONField test. . - Added support for window expressions (OVER clause). . - Skipped test when serializer is not available. . Refs #14370 -- Vendored Select2 4.0.3 for use by the admin. . - Allowed using a Select2 widget for ForeignKey and Man . . - crash with the name of a model's autogenerated . . typo in docs/topics/cache.txt. . Refs #28334 -- crash in hstore/citext oid caching during test d . . Refs #14370 -- typo in ModelAdmin.autocomplete_fields docs. . typo in docs/internals/deprecation.txt. . Removed unused list in Query.resolve_lookup_value(). . Added a checks test for valid i18n patterns. . Initialized CsrfViewMiddleware once in csrf_tests. . - Reallowed error handlers to access CSRF tokens. . - Added a simplified URL routing syntax per DEP 0201. . - Made ogrinspect output pep8 compliant. . - Added color interpretation method to GDALBand. . Added test for too large input to django.utils.http.base36_to_int(). . - Set the foreground color to black in CSRF and 404 err . . Refs #28595 -- Added a hook to add execute wrappers for database quer . . Added a test for QuerySet.select_related() reverse caching. . Refs #28593 -- Made URLResolver._populate() more resilient to signal . . Removed unused eof argument to BoundaryIter._find_boundary(). . - Added FilteredRelation API
2.0.102 Jan 2018 03:15 minor feature: Added Paginator.get_page(). . - Made cache.set_many() return the list of failed keys. . - Allowed QuerySet.values_list() to return a namedtuple. . - Removed inaccurate docs about QuerySet.order_by() and . . Removed unneeded __init__() methods. . Reverted "- Replaced try/except/pass with . . Removed obsolete doc references to javascript_catalog. . Simplified GEOSFuncFactory. . Removed to_lower parameter for translation's to_locale(). . Added more tests for translation's to_locale(). . - translation's to_locale() with langauge subtags. . deepcopy of AreaField and DistanceField. . capitalization of "Spherical Mercator.". . - Removed handling of non-thread safe GEOS functions. . some comments referring to a nonexistent TestClient class. . Refs #24928 -- Added introspection support for PostgreSQL JSONField. . Refs #24928 -- Added introspection support for PostgreSQL RangeField. . Removed unnecessary parens in _get_app_label_and_model_name(). . - Doc'd upgrade effort expectations for Django 2.0. . - GIS's WKT regex to match large scientific notat . . - Renamed DatabaseCreation number arguments to suf. . - some GIS functions when queryset is evaluated m . . Tested field deconstruction with DEFAULT_DB_TABLESPACE and db_tablesp . . Refs #28492 -- Stopped accessing settings at Field.db_tablespace init . . - Defined default output_field of expressions at the cl . . - Dropped support for GEOS 3.3.x. . Added tests for DecimalValidator. . Used sqlite3.Connection.load_extension() instead of query execution f . . Removed django.contrib.gis.geometry.backend. . Moved contrib.gis.geometry.regex to contrib.gis.geometry. . - WSGIServer hang on responses without a Content- . . Refs #28569 -- gis_tests.inspectapp.tests.OGRInspectTest.test_t . . Refs #27090 -- Added real database sequenc
2.004 Dec 2017 04:12 major feature: The Django team is happy to announce the release of Django 2.0. This release starts Django s use of a loose form of semantic versioning, but there aren t any major backwards incompatible changes (except that support for Python 2.7 is removed) that might be expected of a 2.0 release. Upgrading should be a similar amount of effort as past feature releases. The release notes cover the assortment of new features in detail, but a few highlights are: A simplified URL routing syntax that allows writing routes without regular expressions. A responsive, mobile-friendly contrib.admin. Window expressions to allow adding an OVER clause to querysets.
1.805 Apr 2015 04:45 major feature: Django 1.8 has been designated as Django s second Long-Term Support (LTS) release, and will receive security updates for at least three years. Django now has a formalized API for Model._meta, providing an officially supported way to retrieve fields and filter fields based on their attributes. Multiple template engines/backends: Django template or Jinja2. Several features of the django-secure third-party library have been integrated into Django. Comes with a module with extensions for PostgreSQL specific features, such as ArrayField, HStoreField, Range Fields, and unaccent lookup. Django now has a UUIDField for storing universally unique identifiers. Now has a DurationField for storing periods of time - modeled in Python by timedelta. The added Query Expressions allow you to create, customize, and compose complex SQL expressions. TestCase has been refactored to allow for data initialization at the class level using transactions and savepoints. And some new minor additions: ModelAdmin now has a has_module_permission() method to allow limiting access to the module on the admin index page. InlineModelAdmin now has an attribute show_change_link that supports showing a link to an inline object s change form. Use the new django.contrib.admin.RelatedOnlyFieldListFilter in ModelAdmin.list_filter to limit the list_filter choices to foreign objects which are attached to those from the ModelAdmin. The ModelAdmin.delete_view() displays a summary of objects to be deleted on the deletion confirmation page. The jQuery library embedded in the admin has been upgraded to version 1.11.2. You can now specify AdminSite.site_url in order to display a link to the front-end site. You can now specify ModelAdmin.show_full_result_count to control whether or not the full count of objects should be displayed on a filtered admin page. The AdminSite.password_change() method now has an extra_context parameter. You can now control who may login to the admin site by overriding only AdminSite.has_