diff options
Diffstat (limited to 'example_project/local_settings.py.sample')
-rw-r--r-- | example_project/local_settings.py.sample | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/example_project/local_settings.py.sample b/example_project/local_settings.py.sample index 901c7d3a8..f8f0f3e75 100644 --- a/example_project/local_settings.py.sample +++ b/example_project/local_settings.py.sample @@ -23,9 +23,11 @@ DATABASES = { }, } +BASE_URL = "http://mydomain/" + ROOT_URLCONF = 'example_project.urls' -STATIC_URL = 'http://mydomain/static/' -MEDIA_URL = 'http://mydomain/media/' +STATIC_URL = BASE_URL + 'static/' +MEDIA_URL = BASE_URL + 'mydomain/media/' DEBUG = False DEBUG_TOOLBAR = False |