Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#12051 closed (duplicate)

ModelForm description for Meta not defined is NoneType

Reported by: upmauro@… 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 Russell Keith-Magee, 15 years ago

milestone: 1.2
Triage Stage: UnreviewedAccepted

comment:2 by Tobias McNulty, 15 years ago

Resolution: duplicate
Status: newclosed

fixed by #12285

comment:3 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top