diff options
Diffstat (limited to 'example_project')
| -rw-r--r-- | example_project/settings.py | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/example_project/settings.py b/example_project/settings.py index 6a0bf4079..3a001bf2b 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -17,7 +17,10 @@ CACHE_SMALLTIMEOUT = 120  CACHE_TIMEOUT = 3600  CACHE_BACKEND = 'memcached://127.0.0.1:11211/' -ROOT_PATH = os.path.abspath(os.path.curdir) + os.path.sep +ROOT_PATH = (os.path.abspath(os.path.curdir) + os.path.sep).replace( +    os.path.sep * 2, os.path.sep) +if ROOT_PATH == os.path.sep: +    ROOT_PATH = "." + os.path.sep  STATIC_URL = '/static/'  STATIC_ROOT = ROOT_PATH + 'static/'  BASE_URL = "/" | 
