Misc fixes

This commit is contained in:
2020-08-30 10:45:38 +01:00
parent 9198724748
commit bfe80db85e
10 changed files with 101 additions and 69 deletions

View File

@@ -230,6 +230,7 @@ class PaymentCreate(generic.CreateView):
class PaymentDelete(generic.DeleteView):
model = models.Payment
template_name = 'payment_confirm_delete.html'
def get_success_url(self):
return self.request.POST.get('next')