Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Removed bulk_lookup_kwargs from code #524

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions aldryn_newsblog/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


urlpatterns = [
url(r'^', ArticleList.as_view(), name='article-list'),
url(r'^$', ArticleList.as_view(), name='article-list'),
url(r'^feed/', LatestArticlesFeed(), name='article-list-feed'),

url(r'^search/',
Expand All @@ -31,7 +31,7 @@
url(r'^(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/(?P<pk>\d+)/',
ArticleDetail.as_view(), name='article-detail'),
# These support permalinks with <article_slug>
url(r'^(?P<slug>\w[-\w]*)/',
url(r'^(?P<slug>\w[-\w]*)/$',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this required?

ArticleDetail.as_view(), name='article-detail'),
url(r'^(?P<year>\d{4})/(?P<slug>\w[-\w]*)/',
ArticleDetail.as_view(), name='article-detail'),
Expand Down