Opened 7 years ago

Closed 7 years ago

Last modified 5 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: UI/UX:

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 Changed 7 years ago by Russell Keith-Magee

milestone: 1.2
Triage Stage: UnreviewedAccepted

comment:2 Changed 7 years ago by Tobias McNulty

Resolution: duplicate
Status: newclosed

fixed by #12285

comment:3 Changed 5 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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