diff --git a/seminar/urls.py b/seminar/urls.py index f0790359..1bbcf19c 100644 --- a/seminar/urls.py +++ b/seminar/urls.py @@ -34,11 +34,6 @@ urlpatterns = [ views.SoustredeniListView.as_view(), name='seminar_seznam_soustredeni' ), - path( - 'soustredeni/probehlo//', - views.SoustredeniView.as_view(), - name='seminar_soustredeni' - ), path( 'soustredeni//seznam_ucastniku', staff_member_required(views.SoustredeniUcastniciView.as_view()), diff --git a/seminar/views/views_all.py b/seminar/views/views_all.py index 896d8952..ab38bc58 100644 --- a/seminar/views/views_all.py +++ b/seminar/views/views_all.py @@ -921,10 +921,6 @@ class SoustredeniListView(generic.ListView): model = Soustredeni template_name = 'seminar/soustredeni/seznam_soustredeni.html' -class SoustredeniView(generic.DetailView): - model = Soustredeni - template_name = 'seminar/archiv/soustredeni.html' - def soustredeniObalkyView(request,soustredeni): soustredeni = get_object_or_404(Soustredeni,id = soustredeni) return obalkyView(request,soustredeni.ucastnici.all())