Dear All, I have a simple question, but can' find the answer in the docs.
I have two classes, a & b, in my model.py file, related via a OneToOne. When I create an a, I would like to display its UID in the admin interface. I've tried adding idNumber = model.AutoField(primary_key=true) and class Admin: def __str__(self.idNumber) to the model, but it doesn't appear in the admin interface. Ideas? Also, when I try and look at it, it just says "a (or b) Object created" - how do I get it to display the UID as its name? Thanks a lot, Matt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---