Opened 6 years ago

Closed 5 years ago

Last modified 4 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 5 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 5 years ago by tobias

  • Resolution set to duplicate
  • Status changed from new to closed

fixed by #12285

comment:3 Changed 4 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

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