summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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('',