Utils: logger
This commit is contained in:
parent
fd84faa077
commit
b33f23a2fd
1 changed files with 4 additions and 0 deletions
|
@ -14,9 +14,13 @@ from django.core.exceptions import ObjectDoesNotExist
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from enum import auto
|
from enum import auto
|
||||||
|
|
||||||
|
import logging
|
||||||
|
|
||||||
import seminar.models as m
|
import seminar.models as m
|
||||||
import seminar.treelib as t
|
import seminar.treelib as t
|
||||||
|
|
||||||
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
org_required = permission_required('auth.org')
|
org_required = permission_required('auth.org')
|
||||||
resitel_required = permission_required('auth.resitel')
|
resitel_required = permission_required('auth.resitel')
|
||||||
User = get_user_model()
|
User = get_user_model()
|
||||||
|
|
Loading…
Reference in a new issue