mirror of
https://github.com/django/django.git
synced 2025-07-19 09:09:13 +00:00
[1.9.x] Refs #22634 -- Removed unneeded app_label in custom session engine example.
Backport of cc0d1eaaea40dc9d784c6974be1ce631a2087c11 from master
This commit is contained in:
parent
0f1d5aef9d
commit
052f8499b9
@ -817,9 +817,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