You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
I had an interesting problem today.
I had some records that were missing in the auto-admin list of one of
my models. The count was correct, but the records were simply not
displayed. When I did a select query from the command line they all
showed up just fine; some of them were simply missing from the auto-
admin list.
I finally isolated the problem to a missing record a couple of foreign
key hops away. For example...
So Model2 wasn't being displayed because Project2 didn't exist. I
think this had something to do with my unicode method on the Product
because I referenced the Project in it. It was probably throwing an
error, but for some reason Django was just ignoring it.