as for me, @login_required decorator redirects to http://localhost/accounts/login/?next=/path/ if you use generic view to display login page it will automatically redirect user to /path/ after login.
2009/10/12 Sergio A. <[email protected]> > > I've three views each with different URL. They are visible to logged > in users. > If a non-logged user tries to access a URL requiring login, I'm able > to redirect it to the login page. > > What I'm missing is how to go back to the initial page, once the user > log in the system. > > > Cheers, Sergio > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---

