On Apr 16, 2:47 pm, zayatzz <alan.kesselm...@gmail.com> wrote:
> So this means, that i can return whichever other value with this
> unicode method... even value from other models?
>
> Alan.

If you want, and you've got a way of getting there from the current
model - eg via a foreign key. Bear in mind though that this value is
used in all sorts of places, so you should use something that makes
sense and identifies your instance.

--
DR.
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to