Maybe try putting some logging in your CustomUserModelBackend.
Near the top, put in some logging boilerplate:
import logging
logger = logging.getLogger(__name__)
Then in your backend, something like this:
class CustomUserModelBackend(ModelBackend):
...
def get_user(self, user_id):
I already know about SESSION_COOKIE_AGE. I set it to be 30 minutes, but the
problem is that even if i am doing something system logs me out, and this
should not happen. It work properly before i implemented custom auth
backend.
--
You received this message because you are subscribed to the Goo
In your settings.py you might have to set the SESSION_COOKIE_AGE
https://docs.djangoproject.com/en/1.4/topics/http/sessions/#session-cookie-age
K
On Wednesday, May 28, 2014 5:49:01 AM UTC-7, Domagoj Kovač wrote:
>
> Hi guys,
>
> I extended base user model with certain fields. My code is as foll
3 matches
Mail list logo