You may get the above error message in
—-
from biz.models import Entry, City, Category
class CityAdmin(admin.ModelAdmin):
list_display = (‘name’)
admin.site.register(City, CityAdmin)
———
to fix,
list_display = (‘name’,)
Posted by weboom at 5:36 am
Tagged with: django, error, list_display
