django/docs/topics
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
..
auth Fixed #22647 -- Documented redirect_field_name keyword argument for user_passes_test. 2014-05-17 09:45:15 -04:00
class-based-views Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-editing.txt. 2014-05-05 06:41:01 -04:00
db Fixed #22667 -- Replaced leader/follower terminology with primary/replica 2014-05-22 11:59:17 -04:00
forms Fixed #22510 -- Harden field removal to only None. 2014-05-24 13:10:50 +01:00
http Fixed #20816 -- Added hints about Django middleware ordering 2014-05-22 18:33:10 +02:00
i18n Fixed #20477: Allowed list of modules for FORMAT_MODULE_PATH 2014-05-21 07:35:47 -04:00
testing Fixed #22667 -- Replaced leader/follower terminology with primary/replica 2014-05-22 11:59:17 -04:00
cache.txt Fixed #22667 -- Replaced leader/follower terminology with primary/replica 2014-05-22 11:59:17 -04:00
checks.txt Fixed #22193 -- Made hint a truly optional arugment on check messages. 2014-03-03 19:16:19 +08:00
conditional-view-processing.txt Fixed typo in docs/topics/conditional-view-processing.txt 2013-08-26 11:19:40 +02:00
email.txt Fixed #22455 -- Documented return values for send_mail and send_mass_mail 2014-04-16 17:35:17 -04:00
files.txt Fixed #22347 -- Unified FileSystemStorage documentation. 2014-04-02 12:58:37 -04:00
index.txt Added first cut at reference documentation for the checks framework. 2014-03-03 18:56:11 +08:00
install.txt Fixed #16205 -- Added an installation for Windows. 2014-04-08 11:24:49 -04:00
localflavor.txt Fixed #20774 -- Mention the new django-localflavor app as a replacement for the contrib app. 2013-07-29 10:54:53 +02:00
logging.txt Fix a typo in logging.txt 2014-04-28 10:05:28 -04:00
migrations.txt Harmonized some PEP 0263 coding preambles 2014-05-15 19:58:41 +02:00
pagination.txt Removed versionadded/changed annotations for 1.5 2013-08-19 09:09:41 -04:00
performance.txt Fixed doc typos. 2014-02-28 11:44:03 -05:00
python3.txt Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02:00
security.txt Fixed #22504 -- Corrected domain terminology in security guide. 2014-04-25 10:27:13 -04:00
serialization.txt Removed versionadded/changed annotations for 1.6. 2014-03-24 11:42:56 -04:00
settings.txt Fixed #19875 - Added warnings regarding DEBUG=False and empty ALLOWED_HOSTS 2013-06-09 15:05:15 -04:00
signals.txt Fixed #16245 -- Included traceback in send_robust()'s response 2014-05-16 18:41:40 -04:00
signing.txt Fixed #22313 -- Removed 'u' prefixes from documentation 2014-03-22 21:32:20 +01:00
templates.txt Fixed #21747 -- Added {% elif %} to template topics guide. 2014-01-16 07:07:53 -05:00