ModelForm description for Meta not defined is NoneType
|Reported by:||upmauro@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Sorry, my english is bad.
But, i try speak ..
In ModelForm when the programmer does not declare Meta, Django show this error :
Request Method: GET
Request URL: http://localhost:8000/...
Exception Type: TypeError
'NoneType' object is not callable
Believe that handle this exception with a more descriptive message, it would be interesting, for example: "Meta is not defined."
Change History (3)
comment:1 Changed 6 years ago by russellm
- milestone set to 1.2
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:2 Changed 6 years ago by tobias
- Resolution set to duplicate
- Status changed from new to closed