django1/django
Marc Tamlyn 9fb0f5dddc Fixed #22510 -- Harden field removal to only None.
Refs #8620.

If we allow any value to remove form fields then we get name clashes
with method names, media classes etc. There was a backwards
incompatibility introduced meaning ModelForm subclasses with declared
fields called media or clean would lose those fields.

Field removal is now only permitted by using the sentinel value None.
The docs have been slightly reworded to refer to removal of fields
rather than shadowing.

Thanks to gcbirzan for the report and initial patch, and several of the
core team for opinions.
2014-05-24 13:10:50 +01:00
..
apps Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings 2014-03-08 09:57:40 +01:00
bin Started attackign the next flake8 violation 2013-10-31 08:42:28 -07:00
conf Updated translation catalogs 2014-05-19 15:17:35 +02:00
contrib Added array field support for PostgreSQL. 2014-05-22 09:53:26 +01:00
core Applied unicode_literals to makemessages command 2014-05-24 11:51:57 +02:00
db Fixed #22679 -- Fixed empty tuple serialization in MigrationWriter. 2014-05-22 16:15:09 +02:00
dispatch Fixed #16245 -- Included traceback in send_robust()'s response 2014-05-16 18:41:40 -04:00
forms Fixed #22510 -- Harden field removal to only None. 2014-05-24 13:10:50 +01:00
http Fixed typo in multipartparser.py 2014-05-16 05:34:40 -04:00
middleware Prevented leaking the CSRF token through caching. 2014-04-21 18:11:26 -04:00
template Fixed #13408 -- Deprecated silent unpacking exception passing in for template tag. 2014-04-08 13:55:17 -04:00
templatetags Fix many many typos in comments throughout the codebase 2014-04-26 10:18:45 -07:00
test Fixed #21357 -- Fixed test client session initialization. 2014-05-22 20:29:48 -04:00
utils Applied unicode_literals to makemessages command 2014-05-24 11:51:57 +02:00
views Fixed #22635 -- Made "It worked!" page localizable. 2014-05-19 01:05:19 +02:00
__init__.py Bumped version to reflect master is now pre-1.8. 2014-03-21 06:17:14 -04:00
shortcuts.py Moved relative URL handling added in refs #21177 to a better place. 2014-02-15 07:54:35 -05:00