mirror of
https://github.com/django/django.git
synced 2025-01-26 18:19:18 +00:00
[1.10.x] Refs #22634 -- Removed unneeded app_label in custom session engine example.
Backport of cc0d1eaaea40dc9d784c6974be1ce631a2087c11 from master
This commit is contained in:
parent
e0a4d4477c
commit
23e106bb72
@ -811,9 +811,6 @@ to query the database for all active sessions for an account)::
|
|||||||
class CustomSession(AbstractBaseSession):
|
class CustomSession(AbstractBaseSession):
|
||||||
account_id = models.IntegerField(null=True, db_index=True)
|
account_id = models.IntegerField(null=True, db_index=True)
|
||||||
|
|
||||||
class Meta:
|
|
||||||
app_label = 'mysessions'
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_session_store_class(cls):
|
def get_session_store_class(cls):
|
||||||
return SessionStore
|
return SessionStore
|
||||||
|
Loading…
x
Reference in New Issue
Block a user