From 7d9b6fca686e018a476155834b75be951a23fd3d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 26 Oct 2011 17:11:27 +0200 Subject: Correct urls.py --- docs/source/index.rst | 1 + papillon/urls.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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('', -- cgit v1.2.3