Skip to content

Commit

Permalink
Update catalog/views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored Nov 3, 2023
1 parent 394c331 commit 41c47e9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion catalog/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ class BookDelete(PermissionRequiredMixin, DeleteView):
permission_required = 'catalog.can_mark_returned'

def form_valid(self, form):
print("you all suck")
try:
self.object.delete()
return HttpResponseRedirect(self.success_url)
Expand Down

0 comments on commit 41c47e9

Please sign in to comment.