diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-02-18 01:05:08 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-02-18 01:05:08 +0100 |
commit | 50b565e74631a684b2b389cac55982db86d8d5ba (patch) | |
tree | a7256183a32a204ac4e90e2503483c5ffc1f33db /example_project/urls.py | |
parent | 5e47cbfcbeb090762547042d809016074bf1c679 (diff) | |
download | Ishtar-50b565e74631a684b2b389cac55982db86d8d5ba.tar.bz2 Ishtar-50b565e74631a684b2b389cac55982db86d8d5ba.zip |
New management of modules
Diffstat (limited to 'example_project/urls.py')
-rw-r--r-- | example_project/urls.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/example_project/urls.py b/example_project/urls.py index 203c44d4d..62a6b1e04 100644 --- a/example_project/urls.py +++ b/example_project/urls.py @@ -14,10 +14,10 @@ APP_LIST = ['archaeological_files_pdl', 'archaeological_files', 'archaeological_operations', 'archaeological_context_records', 'archaeological_warehouse', 'archaeological_finds'] for app in APP_LIST: - if app in settings.INSTALLED_APPS: - urlpatterns += patterns( - '', ('', include(app + '.urls')), - ) + # filter by activated apps? + urlpatterns += patterns( + '', ('', include(app + '.urls')), + ) urlpatterns += patterns( '', ('', include('ishtar_common.urls')), |