Fixed bug with urls and blog
This commit is contained in:
parent
58fbfc5621
commit
c251621e93
|
@ -64,7 +64,7 @@ urlpatterns = [
|
|||
url(r'^blog/$', PostList.as_view(), name='blog'),
|
||||
url(r'^blog/rss/$', BlogFeed(), name='blog-rss'),
|
||||
url(r'^rss.xml$', RssFeed(), name='main-rss'),
|
||||
url(r'^blog/(?P<slug>[0-9A-Za-z_\-]+)/$', BlogPost.as_view, name='blog-item'),
|
||||
url(r'^blog/(?P<slug>[0-9A-Za-z_\-]+)/$', BlogPost.as_view(), name='blog-item'),
|
||||
url(r'^blog/category/(?P<category>[0-9A-Za-z_\-]+)/$', PostList.as_view(), name='blog-category'),
|
||||
url(r'^blog/category/(?P<category>[0-9A-Za-z_\-]+)/rss/$', BlogCategoryFeed(), name='blog-category-feed'),
|
||||
url(r'^sitemap\.xml$', sitemap, {'sitemaps': sitemaps},
|
||||
|
|
Loading…
Reference in New Issue