django-admin-4

Last Updated :
Discuss
Comments

If a model does not define the str method how does it appear in the admin interface?

Shows model name and object id

Appears as an empty record

Displays field names of the model

Shows only the primary key

Tags:
Share your thoughts in the comments