1
0
mirror of https://github.com/django/django.git synced 2024-12-31 21:46:05 +00:00
django/django
Simon Charette 5779cc938a Fixed #31071 -- Disabled insert optimization for primary keys with defaults when loading fixtures.
Model.save_base() is called directly when loading fixtures and assumes
existing rows will be updated. Branching of "raw" allows to maintain
the optimization introduced in #29260 while supporting this edge case.

Regression in 85458e94e3.

Thanks Reupen Shah for the report.
2019-12-30 07:49:10 +01:00
..
apps
bin Fixed #23433 -- Deprecated django-admin.py entry point in favor of django-admin. 2019-12-06 12:11:44 +01:00
conf Added Algerian Arabic language. 2019-12-14 16:26:31 +01:00
contrib Refs #30585 -- Updated project templates and tests to use (block)translate tags. 2019-12-18 13:15:38 +01:00
core Fixed #26743 -- Fixed UnboundLocalError crash when deserializing m2m fields and value isn't iterable. 2019-12-13 11:38:09 +01:00
db Fixed #31071 -- Disabled insert optimization for primary keys with defaults when loading fixtures. 2019-12-30 07:49:10 +01:00
dispatch
forms Fixed #30998 -- Added ModelChoiceIteratorValue to pass the model instance to ChoiceWidget.create_option(). 2019-12-23 10:34:50 +01:00
http Fixed #31114 -- Fixed HttpRequest.build_absolute_uri() crash with reverse_lazy() locations. 2019-12-27 09:19:56 +01:00
middleware Fixed #30899 -- Lazily compiled import time regular expressions. 2019-10-29 09:22:26 +01:00
template Refs #30585 -- Updated project templates and tests to use (block)translate tags. 2019-12-18 13:15:38 +01:00
templatetags Refs #30585 -- Updated project templates and tests to use (block)translate tags. 2019-12-18 13:15:38 +01:00
test Fixed #27430 -- Added -b/--buffer option to DiscoverRunner. 2019-12-09 13:47:12 +01:00
urls Fixed #31061 -- Ignored positional args in django.urls.resolve() when all optional named parameters are missing. 2019-12-06 09:32:51 +01:00
utils Fixed typo in django/utils/termcolors.py docstring. 2019-12-27 07:49:15 +01:00
views Refs #30585 -- Updated project templates and tests to use (block)translate tags. 2019-12-18 13:15:38 +01:00
__init__.py Bumped version; master is now 3.1 pre-alpha. 2019-09-10 11:54:25 +02:00
__main__.py
shortcuts.py