Well I thought I had this working but it turns out it was previous
form I had set up manually.
At the moment I'm getting no form returned at all, from reading the
documentation I'm struggling to see what I'm doing wrong.
My UserProfile model is sat in eshop.shop.models, I'm referencing this
in s
Yep all working now!
On Sep 12, 8:11 pm, RajeshD <[EMAIL PROTECTED]> wrote:
> > Basic example:
>
> > user = User.objects.get(id=1)
> > user_profile = user.get_profile()
>
> This should work if you have settings.AUTH_PROFILE_MODULE pointing to
> your UserProfile model.
> See:http://www.b-list.org
>
> Basic example:
>
> user = User.objects.get(id=1)
> user_profile = user.get_profile()
This should work if you have settings.AUTH_PROFILE_MODULE pointing to
your UserProfile model. See:
http://www.b-list.org/weblog/2006/jun/06/django-tips-extending-user-model/
--~--~-~--~~---
I've had a read through the docs and have created a UserProfile object
with a ForeignKey to Djangos User object.
What I want to be able to do is load the UserProfile so this can then
be edits.
I tried this last night (admittedly not very hard) and didn't seem to
have any joy.
Basic example:
us
4 matches
Mail list logo