Changeset 8574 for mauRepo


Ignore:
Timestamp:
27/09/12 12:51:45 (7 years ago)
Author:
mnagni
Message:

Incomplete - # 22554: "Remove the ""FollowSymLinks"""
 http://team.ceda.ac.uk/trac/ceda/ticket/22554

Location:
mauRepo/MolesManager/trunk/cedaMoles/MolesManager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/cedaMoles/MolesManager/settings.py

    r8573 r8574  
    7474# Example: "/home/media/media.lawrence.com/static/" 
    7575STATIC_ROOT = os.path.join(DJANGO_PROJECT, 'static') 
    76 print STATIC_ROOT 
    7776 
    7877# URL prefix for static files. 
     
    8483#STATIC_ROOT = os.path.join(PROJECT_ROOT, STATIC_URL) 
    8584STATIC_URL = 'CUSTOM_STATIC_URL' 
    86 if STATIC_URL == 'CUSTOM_STATIC_URL': 
    87     STATIC_URL = 'http://127.0.0.1:8000/static/' 
    88 print STATIC_URL 
    8985#STATIC_ROOT = os.path.join(PROJECT_ROOT, STATIC_URL) 
    9086 
  • mauRepo/MolesManager/trunk/cedaMoles/MolesManager/settings_local.py

    r8540 r8574  
    22# Override settings.py for local configuration here 
    33# 
    4 #RUN_MIGRATION = False 
    5 #SERVE_STATIC_CONTENT = True 
     4SERVE_LOCAL_STATIC_FILE = False 
     5if SERVE_LOCAL_STATIC_FILE: 
     6    STATIC_URL = 'http://127.0.0.1:8000/static/' 
     7RUN_MIGRATION = False 
     8 
Note: See TracChangeset for help on using the changeset viewer.