Answer the question
In order to leave comments, you need to log in
Doesn't see the view from another app?
There are 2 applications. In the template of one of them, you need to make a link to the view from the other.
<a class="navbar-brand" href="{% url 'posts:listofposts' %}">Home</a>
from views import (
listofposts, )
urlpatterns = [
url(r'^$',
listofposts ,
name='listofposts'),
]
Exception Value:
u'posts' is not a registered namespace
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