Changeset 2ff0d60


Ignore:
Timestamp:
Feb 2, 2010, 5:50:01 AM (15 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, client
Children:
86f8884
Parents:
408cd14
git-author:
Alex Dehnert <adehnert@…> (02/02/10 05:50:01)
git-committer:
Alex Dehnert <adehnert@…> (02/02/10 05:50:01)
Message:

Try to get it deployable to scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • remit/settings.py

    r676ea4b r2ff0d60  
    44
    55SITE_ROOT = os.path.normpath(os.path.dirname(__file__))
     6SITE_WEB_PATH = ''
    67DEFAULT_DOMAIN = 'mit.edu'
    78
     
    4849# trailing slash if there is a path component (optional in other cases).
    4950# Examples: "http://media.lawrence.com", "http://example.com/media/"
    50 MEDIA_URL = '/media/'
     51MEDIA_URL = SITE_WEB_PATH + '/media/'
    5152
    5253# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
    5354# trailing slash.
    5455# Examples: "http://foo.com/media/", "/media/".
    55 ADMIN_MEDIA_PREFIX = '/media/admin/'
     56ADMIN_MEDIA_PREFIX = SITE_WEB_PATH + '/media/admin/'
    5657
    5758# List of callables that know how to import templates from various sources.
     
    9192    'finance_core',
    9293)
     94
     95from local_settings_after import *
Note: See TracChangeset for help on using the changeset viewer.