|
|
@ -5,7 +5,7 @@ from django.core.exceptions import ObjectDoesNotExist |
|
|
|
from django.views import generic |
|
|
|
from django.utils.translation import gettext as _ |
|
|
|
from django.http import Http404 |
|
|
|
from django.db.models import Q, Sum, Count |
|
|
|
from django.db.models import Q |
|
|
|
from django.views.generic.base import RedirectView |
|
|
|
from django.core.exceptions import PermissionDenied |
|
|
|
from django.contrib.staticfiles.finders import find |
|
|
@ -17,24 +17,18 @@ from seminar.models import Problem, Cislo, Reseni, Nastaveni, Rocnik, \ |
|
|
|
Deadline # Tohle je stare a chceme se toho zbavit. Pouzivejte s.ToCoChci |
|
|
|
#from .models import VysledkyZaCislo, VysledkyKCisluZaRocnik, VysledkyKCisluOdjakziva |
|
|
|
from seminar import utils |
|
|
|
from treenode import treelib |
|
|
|
import treenode.templatetags as tnltt |
|
|
|
import treenode.serializers as vr |
|
|
|
from vysledkovky.utils import body_resitelu, VysledkovkaCisla, \ |
|
|
|
VysledkovkaRocniku, VysledkovkaDoTeXu |
|
|
|
|
|
|
|
from datetime import date, datetime |
|
|
|
from django.utils import timezone |
|
|
|
from itertools import groupby |
|
|
|
from collections import OrderedDict |
|
|
|
import tempfile |
|
|
|
import subprocess |
|
|
|
import shutil |
|
|
|
import os |
|
|
|
import os.path as op |
|
|
|
from django.conf import settings |
|
|
|
import unicodedata |
|
|
|
import time |
|
|
|
from collections.abc import Sequence |
|
|
|
import http |
|
|
|
|
|
|
|