Answer the question
In order to leave comments, you need to log in
How to get a link in a template by name in Django?
How to display link by name in Django template?
There is a projectname/urls.py file
urlpatterns = [
.....
url(r'^logout/$', log_out, name='logout'),
.....
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question