django1/docs/topics
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
..
auth [1.7.x] Updated grammar in description of django.contrib.auth. 2014-04-22 18:29:03 -04:00
class-based-views [1.7.x] Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-editing.txt. 2014-05-05 06:42:21 -04:00
db [1.7.x] Fixed typo in transactions.txt 2014-05-13 07:28:43 -04:00
forms [1.7.x] Fixed #22510 -- Harden field removal to only None. 2014-05-24 13:11:50 +01:00
http [1.7.x] Fixed #20816 -- Added hints about Django middleware ordering 2014-05-22 18:34:00 +02:00
i18n [1.7.x] Fixed #22523 -- Clarified pytz requirement. 2014-04-29 08:34:00 +02:00
testing [1.7.x] Revert "Fixed #15179 -- middlewares not applied for test client login()" 2014-04-28 18:49:24 -04:00
cache.txt [1.7.x] Fixed #22247 -- Replaced "upstream" with "downstream" in cache docs. 2014-03-24 09:19:46 -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 [1.7.x] Fixed #22455 -- Documented return values for send_mail and send_mass_mail 2014-04-16 17:38:22 -04:00
files.txt [1.7.x] Fixed #22347 -- Unified FileSystemStorage documentation. 2014-04-02 13:01:03 -04:00
index.txt Added first cut at reference documentation for the checks framework. 2014-03-03 18:56:11 +08:00
install.txt [1.7.x] Fixed #16205 -- Added an installation for Windows. 2014-04-08 11:28:58 -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 [1.7.x] Fix a typo in logging.txt 2014-04-28 11:21:57 -04:00
migrations.txt [1.7.x] Harmonized some PEP 0263 coding preambles 2014-05-15 20:01:31 +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 [1.7.x] Updated doc links to point to Python 3 documentation 2014-04-26 16:03:40 +02:00
security.txt [1.7.x] Fixed #22504 -- Corrected domain terminology in security guide. 2014-04-25 10:29:18 -04:00
serialization.txt Fixed #17942 -- Added a JsonResponse class to more easily create JSON encoded responses. 2014-02-14 18:25:19 -05:00
settings.txt Fixed #19875 - Added warnings regarding DEBUG=False and empty ALLOWED_HOSTS 2013-06-09 15:05:15 -04:00
signals.txt [1.7.x] Fixed #22507 -- Clarified nature of the sender argument of signals 2014-04-25 23:16:24 +02:00
signing.txt Fixed #18745 - Documentation change explaining tuple to list with signing. 2014-02-16 13:12:49 +01:00
templates.txt Fixed #21747 -- Added {% elif %} to template topics guide. 2014-01-16 07:07:53 -05:00