diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-12-10 01:49:17 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-12-24 17:39:02 +0100 |
commit | 45bfd735f1a9b20072dfcc2194883086b4eb7616 (patch) | |
tree | 9032ff24c98084bdf1380d24de63430210af3bff /ishtar/urls.py | |
parent | 6d6b46e92da74e94ddf07f91a094b0548b90a30c (diff) | |
download | Ishtar-45bfd735f1a9b20072dfcc2194883086b4eb7616.tar.bz2 Ishtar-45bfd735f1a9b20072dfcc2194883086b4eb7616.zip |
Manage extra path in the URL of the application
Diffstat (limited to 'ishtar/urls.py')
-rw-r--r-- | ishtar/urls.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ishtar/urls.py b/ishtar/urls.py index 1ca2431bb..4d921b598 100644 --- a/ishtar/urls.py +++ b/ishtar/urls.py @@ -3,6 +3,10 @@ from django.conf.urls.defaults import * from django.contrib import admin admin.autodiscover() +from settings import URL_PATH + +BASE_URL = r'^' + URL_PATH + urlpatterns = patterns('', # Example: # (r'^ishtar/', include('ishtar.foo.urls')), @@ -10,5 +14,5 @@ urlpatterns = patterns('', # Uncomment the admin/doc line below to enable admin documentation: # (r'^admin/doc/', include('django.contrib.admindocs.urls')), - (r'^admin/', include(admin.site.urls)), + (BASE_URL + r'admin/', include(admin.site.urls)), ) |