django/docs/ref
Marc Tamlyn be733bf672 [1.7.x] 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.

Backport of 9fb0f5dddc from master
2014-05-24 13:11:50 +01:00
..
class-based-views Fixed docs typos. 2014-02-25 10:28:32 -05:00
contrib [1.7.x] Fixed #22655 -- Fixed GeoQuerySet doc about strictly_below 2014-05-19 09:50:46 -04:00
files [1.7.x] Updated doc links to point to Python 3 documentation 2014-04-26 16:03:40 +02:00
forms [1.7.x] Fixed #22510 -- Harden field removal to only None. 2014-05-24 13:11:50 +01:00
models [1.7.x] Fixed typo that disabled code example highlighting 2014-05-15 05:52:30 -04:00
templates [1.7.x] Fixed #22167 -- Improved documentation on context processors 2014-05-16 18:27:55 +02:00
applications.txt [1.7.x] Documented django.setup(). 2014-04-26 22:11:04 +02:00
checks.txt [1.7.x] Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin. 2014-05-15 07:02:06 -04:00
clickjacking.txt Removed gender-based pronouns per [c0a2daad78]. 2013-11-30 08:37:15 -05:00
databases.txt [1.7.x] Fixed #22368 -- clarified connecting to Oracle DB using service name 2014-05-19 07:46:27 -04:00
django-admin.txt [1.7.x] Documented django.setup(). 2014-04-26 22:11:04 +02:00
exceptions.txt [1.7.x] Updated doc links to point to Python 3 documentation 2014-04-26 16:03:40 +02:00
index.txt Fixed warnings when building the documentation. 2014-02-22 21:43:50 +01:00
middleware.txt [1.7.x] Fixed #20816 -- Added hints about Django middleware ordering 2014-05-22 18:34:00 +02:00
migration-operations.txt [1.7.x] Harmonized some PEP 0263 coding preambles 2014-05-15 20:01:31 +02:00
request-response.txt [1.7.x] Updated doc links to point to Python 3 documentation 2014-04-26 16:03:40 +02:00
schema-editor.txt [1.7.x] Improved formatting and links of migration docs. 2014-04-27 15:06:08 -04:00
settings.txt [1.7.x] Insert space. 2014-05-11 16:18:01 -04:00
signals.txt [1.7.x] Fixed #22029 -- Removed obsolete advice on registering migrate/syncdb signal handlers. 2014-03-26 10:41:45 -04:00
template-response.txt Always use parentheses when documenting a method with no arguments. 2014-01-22 22:26:10 +01:00
unicode.txt [1.7.x] Corrected the section identifier for MySQL unicode reference. 2014-04-21 13:20:46 -04:00
urlresolvers.txt [1.7.x] Fixed #22220 -- Added more examples to reverse() documention. 2014-04-16 20:31:01 -04:00
urls.txt [1.7.x] Fixed #21941 -- Documented the kwargs param of django.conf.urls.url(). 2014-03-27 07:02:02 -04:00
utils.txt [1.7.x] Fixed #22618 -- Improved import_string example. 2014-05-13 07:05:35 -04:00
validators.txt [1.7.x] Updated doc links to point to Python 3 documentation 2014-04-26 16:03:40 +02:00
views.txt Fixed #20330 -- Normalized spelling of "web server". 2013-04-29 19:40:43 +02:00