URLs: Remove development URLs from main URL file

Move the development URL definitions for Rosetta and Debug toolbar
to a separate URL file. Convert the single urls.py to a module to
allow multiple URL files to be used.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-11-25 00:32:17 -04:00
parent b3c0b622b8
commit 2d5a646940
4 changed files with 32 additions and 17 deletions
+2
View File
@@ -19,6 +19,8 @@ if 'django_extensions' not in INSTALLED_APPS:
'django_extensions',
)
ROOT_URLCONF = 'mayan.urls.development'
TEMPLATES[0]['OPTIONS']['loaders'] = (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',