django/django
William Schwartz ec6d2531c5 Fixed #32314 -- Fixed detection when started non-django modules with "python -m" in autoreloader.
django.utils.autoreload.get_child_arguments() detected when Python was
started with the `-m` option only for `django` module. This commit
changes the logic to check __spec__, see
https://docs.python.org/3/reference/import.html#main-spec

Now packages can implement their own __main__ with the runserver
command.
2021-01-05 21:03:29 +01:00
..
apps Fixed #32285 -- Raised ImproperlyConfigured when AppConfig.label is not a valid Python identifier. 2020-12-22 13:26:30 +01:00
bin Fixed #23433 -- Deprecated django-admin.py entry point in favor of django-admin. 2019-12-06 12:11:44 +01:00
conf Fixed #32304 -- Fixed prefixing STATIC_URL and MEDIA_URL by SCRIPT_NAME for absolute URLs with no domain. 2020-12-31 13:18:57 +01:00
contrib Replaced DatabaseFeatures.supports_left_right_lookups with skipUnlessGISLookup. 2021-01-02 21:39:48 +01:00
core Fixed #32298 -- Fixed URLValidator hostname length validation. 2021-01-04 09:25:40 +01:00
db Fixed #32231 -- Allowed passing None params to QuerySet.raw(). 2021-01-05 10:37:11 +01:00
dispatch Fixed #32261 -- Added error logging to Signal.send_robust(). 2020-12-15 11:00:26 +01:00
forms Fixed #22276 -- Fixed crash when formset management form is invalid. 2020-11-05 10:40:41 +01:00
http Fixed grammar in HttpResponse docstring. 2020-12-08 12:18:42 +01:00
middleware Made small readability improvements. 2020-10-28 20:20:20 +01:00
template Fixed #27827 -- Used "raise from" when raising InvalidTemplateLibrary exceptions in get_package_libraries(). 2020-12-28 07:31:37 +01:00
templatetags Fixed #18995 -- Made blocktranslate tag raise TemplateSyntaxError when plural count is not a number. 2020-09-29 08:03:51 +02:00
test Fixed #32233 -- Cleaned-up duplicate connection functionality. 2020-12-08 08:55:44 +01:00
urls Fixed #32124 -- Added per-view opt-out for APPEND_SLASH behavior. 2020-10-22 14:15:19 +02:00
utils Fixed #32314 -- Fixed detection when started non-django modules with "python -m" in autoreloader. 2021-01-05 21:03:29 +01:00
views Improved bidirectionality on the 'Congrats' page. 2020-11-24 13:03:35 +01:00
__init__.py Bumped version; master is now 3.2 pre-alpha. 2020-05-13 09:07:51 +02:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Made small readability improvements. 2020-10-28 20:20:20 +01:00