|
@ -1,9 +1,8 @@ |
|
|
from django.shortcuts import get_object_or_404, render |
|
|
from django.shortcuts import get_object_or_404, render |
|
|
from django.http import HttpResponse |
|
|
from django.http import HttpResponse |
|
|
from django.views import generic |
|
|
from django.views import generic |
|
|
from django.conf import settings |
|
|
|
|
|
from django.contrib.staticfiles.finders import find |
|
|
from django.contrib.staticfiles.finders import find |
|
|
from seminar.models import Soustredeni, Resitel, Soustredeni_Ucastnici, Nastaveni # Tohle je stare a chceme se toho zbavit. Pouzivejte s.ToCoChci |
|
|
|
|
|
import csv |
|
|
import csv |
|
|
import tempfile |
|
|
import tempfile |
|
|
import shutil |
|
|
import shutil |
|
@ -13,6 +12,10 @@ import http |
|
|
|
|
|
|
|
|
from seminar.views import obalkyView |
|
|
from seminar.views import obalkyView |
|
|
|
|
|
|
|
|
|
|
|
from .models import Soustredeni, Soustredeni_Ucastnici |
|
|
|
|
|
from personalni.models import Resitel |
|
|
|
|
|
from various.models import Nastaveni |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class SoustredeniListView(generic.ListView): |
|
|
class SoustredeniListView(generic.ListView): |
|
|
model = Soustredeni |
|
|
model = Soustredeni |
|
|