Browse Source

Úprava importů v soustredeni

pull/56/head
Jonas Havelka 4 months ago
parent
commit
0fa2fb8e2b
  1. 7
      soustredeni/views.py

7
soustredeni/views.py

@ -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

Loading…
Cancel
Save