Merge pull request #2269 from ostcar/fix_2262
Removed default permissions for session.
This commit is contained in:
commit
4e9ff68435
@ -265,6 +265,9 @@ class Session(DjangoSession):
|
|||||||
on_delete=models.CASCADE,
|
on_delete=models.CASCADE,
|
||||||
null=True)
|
null=True)
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
default_permissions = ()
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_session_store_class(cls):
|
def get_session_store_class(cls):
|
||||||
from .session_backend import SessionStore
|
from .session_backend import SessionStore
|
||||||
|
Loading…
Reference in New Issue
Block a user