We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fix: redirect and flash message when deleting a status used by tasks
1 parent 5ece388 commit cf19a7fCopy full SHA for cf19a7f
task_manager/statuses/views.py
@@ -42,7 +42,7 @@ def form_valid(self, form):
42
43
class StatusDeleteView(LoginRequiredMixin, DeleteView):
44
model = Status
45
- template_name = "statuses/delete.html"
+ template_name = "statuses/confirm_delete.html"
46
success_url = reverse_lazy("statuses_index")
47
login_url = "users:login"
48
0 commit comments