Ignore:
Timestamp:
Jul 12, 2011, 3:28:05 PM (13 years ago)
Author:
rick
Message:

We might as well want to store the results in the Django instance as well. Save some other hacks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/settings.py

    r9394 r9395  
    5959# Absolute path to the directory that holds media.
    6060# Example: "/home/media/media.lawrence.com/"
    61 MEDIA_ROOT = ''
     61MEDIA_ROOT = os.path.join(PROJECT_HOME,'sitemedia')
     62
    6263
    6364# URL that handles the media served from MEDIA_ROOT. Make sure to use a
    6465# trailing slash if there is a path component (optional in other cases).
    6566# Examples: "http://media.lawrence.com", "http://example.com/media/"
    66 MEDIA_URL = ''
    67 
    68 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
    69 # trailing slash.
    70 # Examples: "http://foo.com/media/", "/media/".
    71 ADMIN_MEDIA_PREFIX = '/media/'
     67MEDIA_URL = '/media/'
    7268
    7369# Absolute path to the directory static files should be collected to.
     
    7571# in apps' "static/" subdirectories and in STATICFILES_DIRS.
    7672# Example: "/home/media/media.lawrence.com/static/"
    77 STATIC_ROOT = 'sitestatic'
     73STATIC_ROOT =  os.path.join(PROJECT_HOME,'sitestatic')
    7874
    7975# URL prefix for static files.
Note: See TracChangeset for help on using the changeset viewer.