summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author√Čtienne Loks2011-10-26 17:11:27 +0200
committer√Čtienne Loks2011-10-26 17:11:27 +0200
commit7d9b6fca686e018a476155834b75be951a23fd3d (patch)
tree0d8cdb9f810857b9d28a3b719d3e2d9fc5668eaf
parent58a66e44e2f23704c1f7ee6819bd5e40cac18c0f (diff)
Correct urls.py
-rw-r--r--docs/source/index.rst1
-rw-r--r--papillon/urls.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/docs/source/index.rst b/docs/source/index.rst
index 2e69012..38965b8 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -13,6 +13,7 @@ Contents:
install
upgrade
+ database_migration
Indices and tables
==================
diff --git a/papillon/urls.py b/papillon/urls.py
index 30f95be..862f66a 100644
--- a/papillon/urls.py
+++ b/papillon/urls.py
@@ -30,7 +30,7 @@ feeds = {
}
base = '^' + settings.EXTRA_URL
-if not base.endswith('/'):
+if settings.EXTRA_URL and not base.endswith('/'):
base += '/'
urlpatterns = patterns('',