Add success url to rideshare delete.
This commit is contained in:
parent
5bd0f38249
commit
44f4f97101
|
@ -85,3 +85,4 @@ class RideUpdate(LoginRequiredMixin, CampViewMixin, IsRideOwnerMixin, UpdateView
|
|||
|
||||
class RideDelete(LoginRequiredMixin, CampViewMixin, IsRideOwnerMixin, DeleteView):
|
||||
model = Ride
|
||||
success_url = reverse('rideshare:list')
|
||||
|
|
Loading…
Reference in a new issue