Opened 4 years ago

Closed 4 years ago

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

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

comment:2 Changed 4 years ago by julien

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