Smazáno SoustredeniView, nic nedělalo
This commit is contained in:
parent
cc17d5680b
commit
f4e14caed4
2 changed files with 0 additions and 9 deletions
|
@ -34,11 +34,6 @@ urlpatterns = [
|
||||||
views.SoustredeniListView.as_view(),
|
views.SoustredeniListView.as_view(),
|
||||||
name='seminar_seznam_soustredeni'
|
name='seminar_seznam_soustredeni'
|
||||||
),
|
),
|
||||||
path(
|
|
||||||
'soustredeni/probehlo/<int:soustredeni>/',
|
|
||||||
views.SoustredeniView.as_view(),
|
|
||||||
name='seminar_soustredeni'
|
|
||||||
),
|
|
||||||
path(
|
path(
|
||||||
'soustredeni/<int:soustredeni>/seznam_ucastniku',
|
'soustredeni/<int:soustredeni>/seznam_ucastniku',
|
||||||
staff_member_required(views.SoustredeniUcastniciView.as_view()),
|
staff_member_required(views.SoustredeniUcastniciView.as_view()),
|
||||||
|
|
|
@ -921,10 +921,6 @@ class SoustredeniListView(generic.ListView):
|
||||||
model = Soustredeni
|
model = Soustredeni
|
||||||
template_name = 'seminar/soustredeni/seznam_soustredeni.html'
|
template_name = 'seminar/soustredeni/seznam_soustredeni.html'
|
||||||
|
|
||||||
class SoustredeniView(generic.DetailView):
|
|
||||||
model = Soustredeni
|
|
||||||
template_name = 'seminar/archiv/soustredeni.html'
|
|
||||||
|
|
||||||
def soustredeniObalkyView(request,soustredeni):
|
def soustredeniObalkyView(request,soustredeni):
|
||||||
soustredeni = get_object_or_404(Soustredeni,id = soustredeni)
|
soustredeni = get_object_or_404(Soustredeni,id = soustredeni)
|
||||||
return obalkyView(request,soustredeni.ucastnici.all())
|
return obalkyView(request,soustredeni.ucastnici.all())
|
||||||
|
|
Loading…
Reference in a new issue