Merge pull request #2269 from ostcar/fix_2262

Removed default permissions for session.
This commit is contained in:
Norman Jäckel 2016-08-13 09:13:43 +02:00 committed by GitHub
commit 4e9ff68435

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