Signup 'next' parameter

26 views
Skip to first unread message

MillerC

unread,
Jul 31, 2012, 3:56:00 PM7/31/12
to pinax...@googlegroups.com
Many of my views use @login_required, which works OK if you already have an account: you sign in and the 'next' parameter redirects you back to where you started. However, if you do not already have an account and have to signup for one, you end up at the LOGIN_REDIRECT_URLNAME instead. How does one get the signup process to return the user to the original location?

Brian Rosner

unread,
Aug 3, 2012, 12:40:40 AM8/3/12
to pinax...@googlegroups.com
On Tuesday, July 31, 2012 1:56:00 PM UTC-6, MillerC wrote:
Many of my views use @login_required, which works OK if you already have an account: you sign in and the 'next' parameter redirects you back to where you started. However, if you do not already have an account and have to signup for one, you end up at the LOGIN_REDIRECT_URLNAME instead. How does one get the signup process to return the user to the original location?

What are you using? pinax.apps.account or django-user-accounts?

Brian Rosner

MillerC

unread,
Aug 8, 2012, 3:17:06 PM8/8/12
to pinax...@googlegroups.com
On Thursday, August 2, 2012 11:40:40 PM UTC-5, Brian Rosner wrote:

What are you using? pinax.apps.account or django-user-accounts?

Brian Rosner

Looks like I have pinax.apps.account installed. Should I be using django-user-accounts? 

James Tauber

unread,
Aug 8, 2012, 3:19:15 PM8/8/12
to pinax...@googlegroups.com
Yeah, definitely worth moving to django-user-accounts.

James
> --
> You received this message because you are subscribed to the Google Groups
> "Pinax Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pinax-users/-/iwb6kauMX10J.
>
> To post to this group, send email to pinax...@googlegroups.com.
> To unsubscribe from this group, send email to
> pinax-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pinax-users?hl=en.



--
James Tauber
http://jtauber.com/
@jtauber on Twitter
Reply all
Reply to author
Forward
0 new messages