Skip to content
Commit 1159791c authored by Malcolm Tredinnick's avatar Malcolm Tredinnick
Browse files

Modified [7112] to make things behave more in line with Python subclassing...

Modified [7112] to make things behave more in line with Python subclassing when subclassing ModelForms.

Meta can now be subclassed and changes on the child model affect the fields
list. Also removed a block of error checking, since it's harder to mess up in
unexpected ways now (e.g. you can't change the model and get the entirely wrong
fields list), so it was a level of overkill.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 37962ece
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment