Here is a screenshot of the models page:
In this picture, only the title shows up on here, I used:
def __unicode__(self):
return self.title;
Here is each individual object:
How do I show all these fields? How do I show all the fields in each Model page?
By default, the admin layout only shows what is returned from the object's unicode function. To display something else you need to create a custom admin form in app_dir/admin.py
.
You need to add an admin form, and setting the list_display
field.
In your specific example (admin.py):
class BookAdmin(admin.ModelAdmin):
list_display = ('title', 'author', 'price')
admin.site.register(Book, BookAdmin)