Skip to content

Commit

Permalink
Fix our static files setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
emperorcezar committed Nov 5, 2015
1 parent 7f81411 commit 558ca90
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions chipy_org/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,13 @@ def env_list(key, defaults=[], delimiter=','):
#STATIC_URL = "https://%s.s3.amazonaws.com/static/" % os.environ['AWS_STORAGE_BUCKET_NAME']
else:
MEDIA_ROOT = os.path.abspath(
os.path.join(PROJECT_ROOT, "..", "htdocs", "media/"))
os.path.join(PROJECT_ROOT, "mediafiles"))

STATIC_ROOT = os.path.abspath(
os.path.join(PROJECT_ROOT, "..", "htdocs", "static/"))
os.path.join(PROJECT_ROOT, "..", "staticfiles"))
STATIC_URL = '/static/'
MEDIA_URL = "/media/"


# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
Expand Down

0 comments on commit 558ca90

Please sign in to comment.