-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solution 16.12.24 #888
base: master
Are you sure you want to change the base?
Solution 16.12.24 #888
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job on setting up the Django application! 🎉 The core functionality is well-implemented, and the use of class-based views and authentication is spot on. While there are a few minor improvements suggested, such as refining URL naming conventions and ensuring clean code practices, these do not impact the overall functionality. Keep up the great work, and consider the feedback for future enhancements! 😊
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
@@ -8,5 +8,7 @@ <h1>Drivers</h1> | |||
{% for driver in car.drivers.all %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure that car.drivers.all
is correctly set up in the view to pass the related drivers to the template. This should be a queryset of drivers associated with the car.
<p><i>This delete will lead you to losing cars with this manufacturer in the taxi service</i></p> | ||
<form action="" method="post"> | ||
{% csrf_token %} | ||
<input type="submit" class="btn btn-danger"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a value to the submit button, such as value="Yes, delete the manufacturer"
, to make the action clearer to the user.
@@ -1,7 +1,7 @@ | |||
{% extends "base.html" %} | |||
|
|||
{% block content %} | |||
<h1>Manufacturer List | |||
<h1>Manufacturer List <a href="{% url "taxi:manufacturer-list-create" %}" style="float:right">+</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure that the link to create a new manufacturer is correctly styled and functional. The '+' symbol is a good visual cue for adding new entries.
No description provided.