Except, I think with the svn version it's: def __unicode__(self) return self.id
I'm working with 0.96, but I've come across something about that in the docs. Does it need to be "return u'%s' % self.id" to convert if self.id is an int? Cheers, Cliff On Mon, 2008-02-11 at 18:15 +0100, Almir Karic wrote: > probably something like (in your model) > > > def __str__(self): > return self.id > > > On Feb 11, 2008 6:09 PM, Tom Badran <[EMAIL PROTECTED]> wrote: > > Is there a way i can display the id of an object in the admin pages? I've > > had a look over the docs and nothing jumps out. This is using django svn > > > > Thanks > > > > Tom > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---