why isn't my id showing up in django admin list?
Posted
by FurtiveFelon
on Stack Overflow
See other posts from Stack Overflow
or by FurtiveFelon
Published on 2010-06-18T16:29:28Z
Indexed on
2010/06/18
16:33 UTC
Read the original article
Hit count: 248
django
|django-admin
Hi all,
I have a class Task(models.Model), and i didn't define id field explicitly (since it defines automatically for you). I checked in the database, it exists for the Task. Now i would like to display it in the list via list_display property in admin.ModelAdmin. I have a bunch of things in there, only id is not showing up for any of the rows i have. Everything else works fine. Anyone know anything special i have to do to get id to display?
Thanks a lot!
Jason
© Stack Overflow or respective owner