-
Notifications
You must be signed in to change notification settings - Fork 845
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 #482
base: master
Are you sure you want to change the base?
Solution #482
Conversation
AndriiIshchenko
commented
Nov 17, 2023
templates/taxi/driver_list.html
Outdated
<a href="{% url 'taxi:driver-detail' pk=driver.id %}">{{ driver.username }}</a> | ||
({{ driver.first_name }} {{ driver.last_name }}) <strong>(Me)</strong> | ||
</li> | ||
{% else %} | ||
<li> | ||
<a href="{% url 'taxi:driver-detail' pk=driver.id %}">{{ driver.username }}</a> | ||
({{ driver.first_name }} {{ driver.last_name }}) | ||
</li> |
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.
Why do you duplicate code? Only one difference here: (Me)
@@ -6,3 +6,4 @@ | |||
venv/ | |||
.pytest_cache/ | |||
**__pycache__/ | |||
.pylintrc |
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.
No need to ignore this file
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.
this is file with settings for Pylint extension for Visual Studio Code i added it in project myself
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.
i do not want to remove it from my project but it wasn't in forked files