Hey folks,
I've a strange problem at the moment with auth and login decorator.
If a user is logged in index page have to redirect to portal, if the
user is not logged in portal have to redirect to login-screen/index.
Seems to be not a big problem, I thought, but my following code
creates a loop.
Hello.
I'm trying to log a user in using the @login_required decorator. I've
followed the examples on
http://docs.djangoproject.com/en/dev/topics/auth/#topics-auth but I can't
get it to stop spiraling into a redirect loop. I've tried everything I can
think of but I'm
2 matches
Mail list logo