Remove dead debug view

This commit is contained in:
Martin Pépin 2020-01-04 23:39:13 +01:00
parent b611322d26
commit a0b307f829
No known key found for this signature in database
GPG key ID: E7520278B1774448

View file

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