Skip to content

Commit

Permalink
get ROOT_URLCONF from env
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmednoureldeen committed Dec 3, 2020
1 parent f5db031 commit 53f3891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cartoview/settings.py
Expand Up @@ -22,7 +22,7 @@
"cartoview.site_management",
"cartoview.apps_handler.apps.AppsHandlerConfig")
INSTALLED_APPS += CARTOVIEW_INSTALLED_APPS
ROOT_URLCONF = "cartoview.urls"
ROOT_URLCONF = os.getenv('ROOT_URLCONF', "cartoview.urls")
CARTOVIEW_DIR = os.path.abspath(os.path.dirname(cartoview.__file__))
BASE_DIR = os.path.dirname(CARTOVIEW_DIR)
CARTOVIEW_TEMPLATE_DIRS = [
Expand Down

0 comments on commit 53f3891

Please sign in to comment.