It might be that the meta class should be removed (or at least, app_label
should refer to the actual label of your app):
class Meta:
app_label = 'mysessions'
Does it work if you do that? Do you have the app in INSTALLED_APPS?
On Wednesday, May 18, 2016 at 8:39:48 AM UTC-4, Seti Volkylany w
https://docs.djangoproject.com/en/1.9/topics/http/sessions/#example
from django.contrib.sessions.backends.db import SessionStore as DBStorefrom
django.contrib.sessions.base_session import AbstractBaseSessionfrom django.db
import models
class CustomSession(AbstractBaseSession):
account_id = m
2 matches
Mail list logo