-
Notifications
You must be signed in to change notification settings - Fork 854
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
Develop #719
Develop #719
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.
Good job! I really appreciate your effort . Please review the check list of the task.
taxi_service/urls.py
Outdated
@@ -22,4 +22,5 @@ | |||
urlpatterns = [ | |||
path("admin/", admin.site.urls), | |||
path("", include("taxi.urls", namespace="taxi")), | |||
path("registration/", include("django.contrib.auth.urls")) |
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 using a more universal name like 'accounts/'
templates/includes/sidebar.html
Outdated
@@ -1,4 +1,10 @@ | |||
<ul class="sidebar-nav"> | |||
{% if user.is_authenticated %} | |||
<li>User: {{ user.username }}</li> | |||
<li><a href="{% url "logout" %}">Log out</a></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.
Check correctnes of using quoutes because you use "" and inside "" again
templates/includes/sidebar.html
Outdated
<li><a href="{% url "taxi:index" %}">Home page</a></li> | ||
<li><a href="{% url "taxi:manufacturer-list" %}">Manufacturers</a></li> | ||
<li><a href="{% url "taxi:car-list" %}">Cars</a></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.
Check correctnes of using quoutes because you use "" and inside "" again
templates/includes/sidebar.html
Outdated
<li>User: {{ user.username }}</li> | ||
<li><a href="{% url "logout" %}">Log out</a></li> | ||
{% else %} | ||
<li><a href="{% url "login" %}">Login</a></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.
Check correctnes of using quoutes because you use "" and inside "" again
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.
Good job! I really appreciate your effort and attention to detail. Thank you for your hard work.
No description provided.