Django 3.0 (2019-12-02 => 2021-04) ¶
See also
Andrew Godwin ¶
Django 3 is out !
Sadly no real async stuff landed in this release past some ground-laying, hopefully we’ll get that in 3.1.
Plenty of other good changes though !
What’s new in Django 3.0 ¶
-
ASGI
(django/core/asgi.py, core/handlers/asgi.py)
- ASGI support
- Articles
- django/core/asgi.py
- django/core/handlers/asgi.py
- django/test/signals.py
- django/utils/translation/reloader.py
- django/utils/translation/trans_real.py
- django/utils/timezone.py
- django/contrib/staticfiles/handlers.py
- tests/asgi/tests.py
- tests/i18n/tests.py
- tests/template_tests/syntax_tests/i18n/test_blocktrans.py
- tests/template_tests/syntax_tests/i18n/test_trans.py
- tests/template_tests/syntax_tests/i18n/test_blocktrans.py
- PostgreSQL Django 3.0
- Enumerations for model field choices (django/db/models/enums.py)
Minor features ¶
- django.contrib.admin (django/contrib/admin/views/main.py)
-
django.contrib.auth (django/contrib/auth/backends.py)
- Description
- django/conf/global_settings.py
- django/contrib/auth/backends.py
- django/contrib/auth/base_user.py
- django/contrib/auth/views.py
- django/contrib/auth/management/commands/createsuperuser.py
- django/contrib/admin/views/autocomplete.py
- django/contrib/auth/forms.py
- django/contrib/admin/checks.py
- django/contrib/auth/hashers.py
- django/contrib/admin/options.py
- django/contrib/admin/widgets.py
- tests/auth_tests/test_models.py
- tests/test_client/tests.py
- tests/auth_tests/test_auth_backends.py
- tests/admin_views/urls.py
- tests/admin_views/admin.py
- tests/auth_tests/test_views.py
- tests/auth_tests/test_forms.py
- tests/admin_widgets/test_autocomplete_widget.py
- tests/modeladmin/test_checks.py
- tests/modeladmin/tests.py
- tests/admin_views/test_autocomplete_view.py
- tests/auth_tests/test_management.py
- tests/auth_tests/test_checks.py
- tests/auth_tests/models/minimal.py
- tests/auth_tests/models/custom_permissions.py
- tests/auth_tests/models/with_integer_username.py
- tests/auth_tests/models/with_many_to_many.py
- tests/auth_tests/models/custom_user.py
- tests/auth_tests/models/invalid_models.py
- tests/auth_tests/models/with_foreign_key.py
- tests/auth_tests/test_hashers.py
- tests/utils_tests/test_crypto.py