Skip to content

Commit

Permalink
fixed flake
Browse files Browse the repository at this point in the history
  • Loading branch information
DanilTrukhanov committed Jan 25, 2025
1 parent 9092365 commit bb733ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions taxi/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class ManufacturerUpdateView(LoginRequiredMixin, generic.UpdateView):
class ManufacturerDeleteView(LoginRequiredMixin, generic.DeleteView):
model = Manufacturer
success_url = reverse_lazy("taxi:manufacturer-list")

def get_context_data(self, **kwargs) -> dict:
context = super().get_context_data(**kwargs)
page = self.request.GET.get("page", 1)
Expand Down

0 comments on commit bb733ee

Please sign in to comment.