django1/docs/ref
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
..
class-based-views Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests. 2014-04-16 20:36:29 -04:00
contrib Added omitted documentation for ArrayField__len. 2014-05-22 13:50:13 +01:00
files Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02:00
forms Fixed #22510 -- Harden field removal to only None. 2014-05-24 13:10:50 +01:00
models Fixed #22019 -- Added Model.objects reference documentation. 2014-05-17 08:32:05 -04:00
templates Fixed #22167 -- Improved documentation on context processors 2014-05-16 18:26:37 +02:00
applications.txt Documented django.setup(). 2014-04-26 20:13:59 +02:00
checks.txt Fixed #21905 -- Add info message if DateField or TimeField use a fixed value 2014-05-16 18:59:31 +02:00
clickjacking.txt Removed versionadded/changed annotations for 1.6. 2014-03-24 11:42:56 -04:00
databases.txt Fixed #22368 -- clarified connecting to Oracle DB using service name 2014-05-19 07:42:11 -04:00
django-admin.txt Fixed #21799 - Modified loaddata --ignorenonexistent to ignore models. 2014-05-18 15:52:07 -04:00
exceptions.txt Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02:00
index.txt Fixed warnings when building the documentation. 2014-02-22 21:43:50 +01:00
middleware.txt Fixed #20816 -- Added hints about Django middleware ordering 2014-05-22 18:33:10 +02:00
migration-operations.txt Harmonized some PEP 0263 coding preambles 2014-05-15 19:58:41 +02:00
request-response.txt Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02:00
schema-editor.txt Improved formatting and links of migration docs. 2014-04-27 15:05:41 -04:00
settings.txt Fixed #22667 -- Replaced leader/follower terminology with primary/replica 2014-05-22 11:59:17 -04:00
signals.txt Fixed #22029 -- Removed obsolete advice on registering migrate/syncdb signal handlers. 2014-03-26 10:39:52 -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 Corrected the section identifier for MySQL unicode reference. 2014-04-21 13:19:46 -04:00
urlresolvers.txt Fixed #22220 -- Added more examples to reverse() documention. 2014-04-16 20:29:17 -04:00
urls.txt Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests. 2014-04-16 20:36:29 -04:00
utils.txt Fixed #22618 -- Improved import_string example. 2014-05-13 07:04:49 -04:00
validators.txt Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02:00
views.txt Fixed #22218 -- Deprecated django.conf.urls.patterns. 2014-04-03 07:28:10 -04:00