#12051 closed (duplicate)
ModelForm description for Meta not defined is NoneType
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Forms | Version: | 1.1 |
| Severity: | Keywords: | Meta | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
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
Exception Value:
'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 by , 16 years ago
| milestone: | → 1.2 |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 16 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
fixed by #12285