Úprava importů v soustredeni
This commit is contained in:
parent
b094347b7c
commit
0fa2fb8e2b
1 changed files with 5 additions and 2 deletions
|
@ -1,9 +1,8 @@
|
|||
from django.shortcuts import get_object_or_404, render
|
||||
from django.http import HttpResponse
|
||||
from django.views import generic
|
||||
from django.conf import settings
|
||||
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 tempfile
|
||||
import shutil
|
||||
|
@ -13,6 +12,10 @@ import http
|
|||
|
||||
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):
|
||||
model = Soustredeni
|
||||
|
|
Loading…
Reference in a new issue