-
Notifications
You must be signed in to change notification settings - Fork 853
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
sol #468
base: master
Are you sure you want to change the base?
sol #468
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.
path("accounts/profile/", include("taxi.urls", namespace="taxi")),
Why you do this but not to specify login redirect page in settings?
You need to be albe go to driver detail click to nickname if you log in |
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.
Fix problems
What makes you to thing that this option is not working? |
This is another option |
{% block content %} | ||
<p>Logged out!</p> | ||
<a href="{% url 'login'%}">Click here to login again.</a> | ||
{% endblock %} |
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.
add a blank line
taxi_service/urls.py
Outdated
@@ -22,4 +7,6 @@ | |||
urlpatterns = [ | |||
path("admin/", admin.site.urls), | |||
path("", include("taxi.urls", namespace="taxi")), | |||
path("accounts/", include("django.contrib.auth.urls")), | |||
path("accounts/profile/", include("taxi.urls", namespace="taxi")), |
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 need this?
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.
Well done 😸
No description provided.