1
0
mirror of https://github.com/django/django.git synced 2024-12-24 18:16:19 +00:00
django/docs/topics
Loic Bistuer 54cd930baf Clarfied the ModelForm docs with respect to generated vs. declared fields.
The ModelForm docs suggested that fields defined declaratively override
default fields generated from the form Meta.

This is conceptually wrong, especially with inheritance in mind. Meta is
usually defined on the topmost ModelForm subclass, while fields can come
from anywhere in the MRO, especially base classes; therefore we suggested
that something defined in a base class override something from a subclass.

This patch rephrases the docs around the idea that Meta is used to generate
*missing* fields.

Refs #8620, #19617.

Thanks @mjtamlyn and @timgraham for the review.
2013-10-14 10:54:22 -04:00
..
auth Fixed grammar/typos in auth customization docs 2013-10-09 16:21:19 +02:00
class-based-views Fixed #21264 -- Incorrect RST usage in docs 2013-10-14 08:14:27 -04:00
db Minor edits to docs/topics/db/queries.txt. 2013-10-11 15:34:11 -04:00
forms Clarfied the ModelForm docs with respect to generated vs. declared fields. 2013-10-14 10:54:22 -04:00
http Fixed #21264 -- Incorrect RST usage in docs 2013-10-14 08:14:27 -04:00
i18n Fixed #19560 -- Identified field in warning for naive datetime. 2013-10-13 11:54:11 +02:00
testing Fixed #15582 -- Documented how TransactionTestCase.multi_db affects fixtures. 2013-10-11 20:11:49 -04:00
cache.txt Fixed #15888 -- Made tablename argument of createcachetable optional 2013-10-14 13:24:40 +02:00
conditional-view-processing.txt Fixed typo in docs/topics/conditional-view-processing.txt 2013-08-26 11:19:40 +02:00
email.txt Fix grammatical errors in email documentation 2013-10-08 09:21:45 -05:00
files.txt Fixed #20604 - Fixed file example in docs. 2013-06-14 21:28:17 -04:00
index.txt Fixed #20877 -- added a performance optimization guide 2013-09-20 23:21:49 +01:00
install.txt Re-added link to SQLite notes from DB section of install doc. 2013-10-07 07:40:41 -03: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 Reworded a paragraph in the logging docs. 2013-09-16 17:49:46 -03:00
migrations.txt Fixed #21116 -- Made usage of manage.py in docs more consistent. 2013-09-18 10:35:41 -04:00
pagination.txt Removed versionadded/changed annotations for 1.5 2013-08-19 09:09:41 -04:00
performance.txt Fixed #21140 -- Added 'Using cached sessions' to the performance guide. 2013-09-23 10:50:19 -04:00
python3.txt Removed implication that six is part of Python stdlib. 2013-09-23 18:30:05 -04:00
security.txt Fixed #20330 -- Normalized spelling of "web server". 2013-04-29 19:40:43 +02:00
serialization.txt Fixed #13252 -- Added ability to serialize with natural primary keys. 2013-10-11 12:52:57 -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 Removed versionadded/changed annotations for 1.5 2013-08-19 09:09:41 -04:00
signing.txt Fixed #20687 -- Added documentation for django.core.signing API. 2013-07-03 10:36:21 -04:00
templates.txt Misc doc cleanups. 2013-07-29 06:57:33 -04:00