Remove default permissions for session

fixes #2262
This commit is contained in:
Oskar Hahn 2016-08-13 07:37:27 +02:00
parent d2c5646ce4
commit fac9e71c29

View File

@ -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