Nepoužívané loggery

This commit is contained in:
Jonas Havelka 2024-08-03 13:21:48 +02:00
parent 431978e626
commit 811e79d33d
6 changed files with 0 additions and 21 deletions

View file

@ -6,8 +6,6 @@ from personalni.admin import OsobaAdmin
# Tohle bude peklo, až jednou ty modely fakt rozstřelíme… Možná vyrobit various.all_models, které půjdou importovat jako m? :-)
import seminar.models as m
import logging
logger = logging.getLogger(__name__)
class DelaniOrguTest(TestCase):
def setUp(self):

View file

@ -1,11 +1,8 @@
import logging
import os
from django.db import models
from .base import SeminarModelBase
logger = logging.getLogger(__name__)
class Text(SeminarModelBase):
class Meta:

View file

@ -1,5 +1,3 @@
import logging
from django.db import models
from django.urls import reverse
from django.contrib.contenttypes.models import ContentType
@ -12,8 +10,6 @@ from personalni.models import Organizator
from .pomocne import Text
logger = logging.getLogger(__name__)
from seminar.models import tvorba as am
class TreeNode(PolymorphicModel):

View file

@ -12,13 +12,9 @@ from django.contrib.auth.models import AnonymousUser
from django.contrib.contenttypes.models import ContentType
from django.core.exceptions import ObjectDoesNotExist
import logging
import seminar.models as m
import treenode.treelib as t
logger = logging.getLogger(__name__)
org_required = permission_required('auth.org')
resitel_required = permission_required('auth.resitel')

View file

@ -34,7 +34,6 @@ import os
import os.path as op
from django.conf import settings
import unicodedata
import logging
import time
from collections.abc import Sequence
import http
@ -51,8 +50,6 @@ from seminar.utils import aktivniResitele
#def temata_v_rocniku(rocnik):
# return Problem.objects.filter(typ=Problem.TYP_TEMA, rocnik=rocnik)
logger = logging.getLogger(__name__)
def get_problemy_k_tematu(tema):
return Problem.objects.filter(nadproblem = tema)

View file

@ -13,11 +13,6 @@ import treenode.forms as f
import treenode.templatetags as tnltt
import treenode.serializers as vr
import logging
logger = logging.getLogger(__name__)
class TNLData(object):
def __init__(self,anode,parent=None, index=None):
self.node = anode