django1/django
abhiabhi94 fde6fb2898 Fixed #32893 -- Fixed serialization of models.Model class in migrations.
Migrations assumed that an import of the models.Model class must
already be included when it's serialized, but for models with only
custom fields this was not necessarily the case.

Thanks Jaap Joris Vens for the report.
2021-07-01 12:42:32 +02:00
..
apps Refs #32355 -- Corrected comments about Python's _NamespacePath. 2021-03-26 10:17:10 +01:00
conf Updated translations from Transifex. 2021-06-28 07:08:39 +02:00
contrib Fixed #32884 -- Fixed centering of the header on admin login page. 2021-06-29 07:41:52 +02:00
core Fixed #32889 -- Allowed per-request sync_to_async context in ASGIHandler . 2021-07-01 12:13:19 +02:00
db Fixed #32893 -- Fixed serialization of models.Model class in migrations. 2021-07-01 12:42:32 +02:00
dispatch Refs #32508 -- Raised ImproperlyConfigured/TypeError instead of using "assert" in various code. 2021-06-25 06:55:47 +02:00
forms Fixed #32807 -- Fixed JSONField crash when redisplaying None values. 2021-06-28 11:02:08 +02:00
http Refs #24121 -- Added __repr__() to StreamingHttpResponse and subclasses. 2021-06-22 21:28:48 +02:00
middleware Fixed #32817 -- Added the token source to CsrfViewMiddleware's bad token error messages. 2021-06-23 16:07:15 +02:00
template Fixed #32824 -- Improved performance of NodeList.render(). 2021-06-11 12:22:06 +02:00
templatetags Refs #24121 -- Added __repr__() to AdminForm, BlockContext, BlockTranslateNode, and IncludeNode. 2021-06-10 12:47:53 +02:00
test Refs #32655 -- Improved error if iter_test_cases() is passed a string. 2021-06-29 20:41:40 +02:00
urls Fixed #32870 -- Improved error message when URLconf is empty. 2021-06-22 08:09:53 +02:00
utils Refs #32880 -- Moved logging reference to new document. 2021-06-30 07:21:52 +02:00
views Refs #32508 -- Raised ImproperlyConfigured/TypeError instead of using "assert" in various code. 2021-06-25 06:55:47 +02:00
__init__.py Bumped version; master is now 4.0 pre-alpha. 2021-01-14 17:50:04 +01: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