Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#16844 closed Uncategorized (invalid)

invalid model name reference.

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Model name in the yaml example should be capitalized, otherwise you get the error "Invalid model identifier:"


  • model: myapp.person

should be:

  • model: myapp.Person


Change History (2)

comment:1 Changed 7 years ago by anonymous

Resolution: invalid
Status: newclosed

comment:2 Changed 7 years ago by Julien Phalip

Not sure who closed this ticket or why. But anyway, it does not seem valid indeed, as by looking at Django's tests it seems normal for the model names to be lowercased: source:django/trunk/tests/modeltests/serializers/

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