i’m trying to implement the socialauth module to my django project, but i get a bit confused on its relation toward the admin site.
My problem: the @login_required decorator redirects me to the admin login page instead of the accounts/login/ page to log in via openid.
- how do i offer the possibility to the user to log in via admin or openid?
thanks
the solution:
LOGIN_URL = 'admin'toLOGIN_URL = '/accounts/login/'(r'^accounts/', include('socialauth.urls')),