mirror of
https://github.com/django/django.git
synced 2025-11-08 15:31:29 +00:00
Refs #22634 -- Removed unneeded app_label in custom session engine example.
This commit is contained in:
parent
15a5755e7c
commit
cc0d1eaaea
1 changed files with 0 additions and 3 deletions
|
|
@ -800,9 +800,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…
Add table
Add a link
Reference in a new issue