Hi,
I've this model:
------------------
class Person(models.Model):
user = models.ForeignKey(User)
--------------------
Can I display the user.email or user.first_name in the admin site
administration?
I try this:
-------------------
def __unicode__(self):
return u"%s %s" % (self.user, self.user.first_name)
--------------------
but don't work.
Thanks,
Alfredo
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
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.