Skip to content

Commit

Permalink
solution
Browse files Browse the repository at this point in the history
  • Loading branch information
MatvijSafonov committed Dec 8, 2024
1 parent 386a042 commit 4d0ef5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion taxi/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
ManufacturerCreateView,
ManufacturerUpdateView,
ManufacturerDeleteView,
assign_user_to_car,
AssignUserToCarView,
)

urlpatterns = [
Expand Down
2 changes: 1 addition & 1 deletion taxi/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class DriverDeleteView(LoginRequiredMixin, generic.DeleteView):
success_url = reverse_lazy("taxi:driver-list")


class assign_user_to_car(LoginRequiredMixin, View):
class AssignUserToCarView(LoginRequiredMixin, View):
def post(
self,
request: HttpRequest,
Expand Down

0 comments on commit 4d0ef5b

Please sign in to comment.