.
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
<form method="post">{% csrf_token %}
|
||||
<p>Are you sure you want to delete "{{ object }}"?</p>
|
||||
<input type="submit" value="Confirm">
|
||||
</form>
|
||||
@@ -1002,6 +1002,7 @@ class ExamUpdate(
|
||||
|
||||
class ExamDelete(RevisionMixin, AuthorOrCheckerRequiredMixin, DeleteView):
|
||||
model = Exam
|
||||
template_name = "exam_confirm_delete.html"
|
||||
success_url = reverse_lazy("rapids:index")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user