Ah that did it. The other thing I was doing wrong, the reason all the
different things i was trying didnt get me anywhere- I hadnt run
syncdb when I should of. That stupid mistake wasted a lot of time..
Its taken a while but it appears to be working perfectly now! Thanks
for your help.
Phil
On 4
On Dec 4, 11:08 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I apologise for spamming everyone, here i stuck it up at dpaste with
> the comments which makes it a bit clearer-http://dpaste.com/96128/
>
You are almost there. You are assigning a form instance to your custom
profile's user
I apologise for spamming everyone, here i stuck it up at dpaste with
the comments which makes it a bit clearer-
http://dpaste.com/96128/
On 4 Dec, 17:01, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I dont know why the margins are squashing everything, ill try and post
> my code again this
I dont know why the margins are squashing everything, ill try and post
my code again this time without the comments
if request.method == 'POST':
form = UserCreationForm(request.POST)
extraform = CustomProfileForm(request.POST)
if form.is_valid():
Thanks for your help Brian, Im still quite confused. I think what Im
really not sure about is how to set the foreignkey manually as it
doesnt really talk about that in the documentation.
Here is what I have now, if extraformedit.user is a foreignkey, how do
i connect it to the form I just
On Dec 3, 12:22 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> ...
> And here is my view for my signup page -
>
> def signup(request):
> if request.method == 'POST':
> form = UserCreationForm(request.POST)
> extraform = CustomProfileForm(request.POST)
> if
Hi all,
I have another newbie question. The user registration + profiles seems
to always be giving me a lot of trouble, I think Im nearly there but
Im sort of stuck at the moment and not sure how to proceed. I am
having trouble setting a user profile that is hooked up to the user
all in one page.
7 matches
Mail list logo