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 #482

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

Conversation

AndriiIshchenko
Copy link

logged
logged_out
logged_with_user_details
main
me

Comment on lines 10 to 17
<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>

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

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

Copy link
Author

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

Copy link
Author

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

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.

3 participants