1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-07-08 06:50:19 +02:00

More linting

This commit is contained in:
Yohann D'ANELLO
2020-11-03 18:16:36 +01:00
parent c35fb4e996
commit fa368a399a
6 changed files with 19 additions and 18 deletions

View File

@ -1,8 +1,7 @@
from django.conf import settings
from django.contrib.auth.models import AnonymousUser, User
from threading import local
from django.conf import settings
from django.contrib.auth.models import AnonymousUser, User
from django.contrib.sessions.backends.db import SessionStore
USER_ATTR_NAME = getattr(settings, 'LOCAL_USER_ATTR_NAME', '_current_user')