Commit 6226b02f authored by eliott's avatar eliott
Browse files

removed need to specify deploypath manually

parent 131e70b2
......@@ -25,9 +25,6 @@ MEDIA_ROOT = '/var/www/archlinux/htdocs/img/devs/'
### web url for serving image files
MEDIA_URL = 'http://www.archlinux.org/img/devs/'
# do not put a / at the end
DEPLOY_PATH = '/var/www/archlinux/archlinux'
# Make this unique, and don't share it with anybody.
SECRET_KEY = '00000000000000000000000000000000000000000000000'
import os
# Django settings for archweb_dev project.
## Import local settings
......@@ -17,6 +18,7 @@
CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True
# Full path to the data directory
DEPLOY_PATH = os.path.dirname(os.path.realpath(__file__))
DATA_DIR = '%s/data' % DEPLOY_PATH
# Local time zone for this installation. All choices can be found here:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment