Using the URLconf defined in blog.urls
,
Django tried these URL patterns, in this order:
-
admin/
-
accounts/
-
[name='index']
-
top-liked/
[name='top_liked']
-
top-read/
[name='top_read']
-
recommended/
[name='recommended']
-
tag/<slug>/
[name='tag']
-
category/<slug>/
[name='category']
-
search/
[name='search']
-
categories/
[name='categories']
-
tags/
[name='tags']
-
tag/
[name='tags']
-
author/<username>/
[name='author']
-
2257/
[name='2257']
-
write/
[name='write']
-
contact/
[name='contact']
-
add-post/
[name='add_post']
-
add-tag/
[name='add_tag']
-
add-category/
[name='add_category']
-
add-query/
[name='add_query']
-
add-all-queries/
[name='add_all_queries']
-
like/<post_id>/
[name='like_post']
-
update-views/<post_id>/
[name='update_views']
-
story/<path:path>
[name='story_redirect']
-
<pk>/<slug>/
[name='post']
-
sitemap.xml
[name='django.contrib.sitemaps.views.index']
-
sitemap-<section>.xml
[name='django.contrib.sitemaps.views.sitemap']
-
^media/(?P<path>.*)$
The current path, login
,
didn’t match any of these.