Changeset 8574
- Timestamp:
- 27/09/12 12:51:45 (8 years ago)
- Location:
- mauRepo/MolesManager/trunk/cedaMoles/MolesManager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
mauRepo/MolesManager/trunk/cedaMoles/MolesManager/settings.py
r8573 r8574 74 74 # Example: "/home/media/media.lawrence.com/static/" 75 75 STATIC_ROOT = os.path.join(DJANGO_PROJECT, 'static') 76 print STATIC_ROOT77 76 78 77 # URL prefix for static files. … … 84 83 #STATIC_ROOT = os.path.join(PROJECT_ROOT, STATIC_URL) 85 84 STATIC_URL = 'CUSTOM_STATIC_URL' 86 if STATIC_URL == 'CUSTOM_STATIC_URL':87 STATIC_URL = 'http://127.0.0.1:8000/static/'88 print STATIC_URL89 85 #STATIC_ROOT = os.path.join(PROJECT_ROOT, STATIC_URL) 90 86 -
mauRepo/MolesManager/trunk/cedaMoles/MolesManager/settings_local.py
r8540 r8574 2 2 # Override settings.py for local configuration here 3 3 # 4 #RUN_MIGRATION = False 5 #SERVE_STATIC_CONTENT = True 4 SERVE_LOCAL_STATIC_FILE = False 5 if SERVE_LOCAL_STATIC_FILE: 6 STATIC_URL = 'http://127.0.0.1:8000/static/' 7 RUN_MIGRATION = False 8
Note: See TracChangeset
for help on using the changeset viewer.