Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Solution 16.12.24 #888

wants to merge 2 commits into from

Conversation

Viva1-ua
Copy link

No description provided.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a 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 %}

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">

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>

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants