Hello,

I struggle with the start of a little conditional request.

I installed django-profiles and got django-profiles working and I have
a small login form based on the django documentation.

django-profiles covers the accounts/login url in its urls.py. So I
only had to create the registration/login.html template. My goal is to
look up if the user which logged in has already created a profile and
redirect him either to the view profiles.views.create_profile or to
the url he comes from.

In the template is a {{ next }} variable.

But I don't know where to start. I think the best would be to change
{{next}}. But how should I do this?


--~--~---------~--~----~------------~-------~--~----~
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