0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00
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
conditional-view-processing.txt
email.txt Fixed #22455 -- Documented return values for send_mail and send_mass_mail 2014-04-16 17:35:17 -04:00
files.txt
index.txt
install.txt Fixed #16205 -- Added an installation for Windows. 2014-04-08 11:24:49 -04:00
localflavor.txt
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
performance.txt
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
settings.txt
signals.txt Fixed #16245 -- Included traceback in send_robust()'s response 2014-05-16 18:41:40 -04:00
signing.txt
templates.txt