summaryrefslogtreecommitdiff
path: root/app/books
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-11-06 14:41:58 -0500
committerluxagraf <sng@luxagraf.net>2015-11-06 14:41:58 -0500
commit78dc05f455f234da32c8c4d60b1b074755758d1c (patch)
treeb72a1cfb93d5b0315a5e16f1338f8a6793b21242 /app/books
parent2311ea934932cf791a83f6c6264063a26468e98c (diff)
rewrote jrnl builder to be self contained in jrnl and based entirely off
url patterns/ views, refactored URLs/views to be class based and fixed a few django warning in URL files
Diffstat (limited to 'app/books')
-rw-r--r--app/books/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/books/urls.py b/app/books/urls.py
index 003d6d6..3efd730 100644
--- a/app/books/urls.py
+++ b/app/books/urls.py
@@ -5,5 +5,5 @@ urlpatterns = patterns('',
#url(r'(?P<slug>[-\w]+)/(?P<page>\d+)/$', 'blog.views.entry_list_by_area'),
url(r'(?P<page>\d+)/$', 'books.views.book_list'),
url(r'(?P<slug>[-\w]+)/$', 'books.views.book_detail'),
- url(r'^$', RedirectView.as_view(url="/books/1/")),
+ url(r'^$', RedirectView.as_view(url="/books/1/", permanent=False)),
)