Monday, January 20, 2014

Re: Question about customizing Django's session backend.

Hi Chen.

There are several session backends in django: database, cached, file-based. You can read about them on this page. But I didn't see obstacles for using default django configuration. You can use django models for django contrib application, while in your own apps still using sqlalchemy.

Cheers!


21.01.2014 11:04, Chen Xu пишет:
Hi everyone,
I am wondering if there is a way to customize django's session backend like we can do it for user authentication backend, the reason why I ask this is that when I call django.contrib.auth.login, it gives me the error no django_session table since I am using sqlalchemy, I did not do python manage.py syncdb at all.

Thanks in advance.

--
⚡ Chen Xu
--

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate