Browse Source

Utils: logger

export_seznamu_prednasek
Pavel "LEdoian" Turinsky 4 years ago
parent
commit
b33f23a2fd
  1. 4
      seminar/utils.py

4
seminar/utils.py

@ -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…
Cancel
Save