django1/django
Simon Charette 75dfa92a05 Fixed #29908 -- Fixed setting of foreign key after related set access if ForeignKey uses to_field.
Adjusted known related objects handling of target fields which relies on
from and to_fields and has the side effect of fixing a bug bug causing
N+1 queries when using reverse foreign objects.

Thanks Carsten Fuchs for the report.
2018-11-08 19:51:15 -05:00
..
apps Refs #28909 -- Simplifed code using unpacking generalizations. 2018-09-28 09:57:12 -04:00
bin Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs." 2017-03-07 10:10:32 -05:00
conf Fixed Italian's MONTH_DAY_FORMAT. 2018-10-20 05:09:41 -04:00
contrib Fixed #29901 -- Allowed overriding an autocomplete/raw_id_fields/radio_fields widget with ModelAdmin.get_formset(). 2018-10-31 10:16:17 -04:00
core Fixed #29890 -- Fixed FileSystemStorage crash if concurrent saves try to create the same directory. 2018-10-31 19:28:11 -04:00
db Fixed #29908 -- Fixed setting of foreign key after related set access if ForeignKey uses to_field. 2018-11-08 19:51:15 -05:00
dispatch Capitalized "Python" in docs and comments. 2018-10-09 09:26:07 -04:00
forms Refs #29689 -- Moved FilePathField choices sorting outside the loop. 2018-08-29 06:19:32 -04:00
http Normalized spelling of "lowercase" and "lowercased". 2018-09-25 10:30:18 -04:00
middleware Capitalized SecurityMiddleware headers for consistency with other headers. 2018-10-30 18:30:51 -04:00
template Refs #28909 -- Simplifed code using unpacking generalizations. 2018-09-28 09:57:12 -04:00
templatetags Replaced TOKEN_* constants by TokenType enums. 2018-05-10 17:51:51 +02:00
test Fixed #25251 -- Made data migrations available in TransactionTestCase when using --keepdb. 2018-11-06 16:57:50 -05:00
urls Fixed #29775 -- Fixed URL converters in a nested namespaced path. 2018-10-04 11:42:27 -04:00
utils Refs #29926 -- Removed usage of gettext.translation()'s deprecated codeset parameter. 2018-11-06 20:22:47 -05:00
views Fixed #29903 -- Added error message for invalid WeekArchiveView week_format. 2018-10-29 14:22:42 -04:00
__init__.py Bumped version; master is now 2.2 pre-alpha. 2018-05-17 09:37:06 -04:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Added missing word to render_to_response deprecation warning. 2018-05-16 10:06:36 +02:00