mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
9fb0f5dddc
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. |
||
---|---|---|
.. | ||
auth | ||
class-based-views | ||
db | ||
forms | ||
http | ||
i18n | ||
testing | ||
cache.txt | ||
checks.txt | ||
conditional-view-processing.txt | ||
email.txt | ||
files.txt | ||
index.txt | ||
install.txt | ||
localflavor.txt | ||
logging.txt | ||
migrations.txt | ||
pagination.txt | ||
performance.txt | ||
python3.txt | ||
security.txt | ||
serialization.txt | ||
settings.txt | ||
signals.txt | ||
signing.txt | ||
templates.txt |