Re: Admin screen counts correctly but returns no records

2009-01-29 Thread JonUK
Thanks Daniel, I'll take your advice. I'm surprised (i.e. don't understand why) this approach is problematic though. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: Admin screen counts correctly but returns no records

2009-01-29 Thread Daniel Roseman
On Jan 29, 12:00 pm, JonUK wrote: > I'm creating a new admin UI for User, separate to the standard admin > User interface - I have the following setup: > > class WebsiteUser( User ): >     class Meta: >         db_table = 'auth_user' > > class WebsiteUserAdmin(

Admin screen counts correctly but returns no records

2009-01-29 Thread JonUK
I'm creating a new admin UI for User, separate to the standard admin User interface - I have the following setup: class WebsiteUser( User ): class Meta: db_table = 'auth_user' class WebsiteUserAdmin( admin.ModelAdmin ): list_display = ( 'username', ) admin.site.register(