diff --git a/propositions/views.py b/propositions/views.py index df0b42e..483ddab 100644 --- a/propositions/views.py +++ b/propositions/views.py @@ -76,14 +76,6 @@ class PropDelete(DeleteView): return HttpResponseRedirect(success_url) -@login_required -def test(request, pk): - error = "Connard" - if True: - return redirect(PropDelete.as_view()) - return render(request, "propositions/liste.html", locals()) - - @login_required def repnon(request, id): prop = get_object_or_404(Prop, id=id)