I'm trying to access from the list template, to detail template
Exmaple:
article: urls
article_patterns = [
path('', HomePageView.as_view(), name='home')
path('articles/', ArticleListView.as_view(), name="articles"),
path('articles/<int:pk>/', ArticleDetailView.as_view(), name="article"),
]
main urls
urlpatterns = [
path('', include(article_patterns)),
path('admin/', admin.site.urls),
]
In article_list.html
<a href="{% url 'articles:article' article.id %}"> Detail {{articles.title}}</a>
But I have this error: articles is not a registered namespace
Any ideas or suggestions?