On Oct 27, 2006, at 9:45 AM, Merric Mercer wrote:
>
> Many thanks Don. I figured it out, but because of issues with google
> have had problems posting back.
>
> It turns out that I don't even have to use get_profile. Something
> like
> {{ user.userprofile.postcode }} works fine, where userprofile is the
> name of the one-to-one class.
Note that using the get_profile() method makes your code much easier
to extend. See James Bennett's writeup about the reasons for this in:
http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model
Don
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---