Changeset 8576 for mauRepo


Ignore:
Timestamp:
27/09/12 12:59:16 (7 years ago)
Author:
mnagni
Message:

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

File:
1 edited

Legend:

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

    r8573 r8576  
    33from django.contrib.staticfiles.urls import staticfiles_urlpatterns 
    44from cedaMoles.MolesManager.settings import STATIC_ROOT, STATIC_URL 
     5from cedaMoles.MolesManager.settings_local import SERVE_LOCAL_STATIC_FILE 
    56 
    67# Uncomment the next two lines to enable the admin: 
     
    5556) 
    5657 
    57 if STATIC_URL == 'http://127.0.0.1:8000/static/': 
     58if SERVE_LOCAL_STATIC_FILE: 
    5859    urlpatterns += patterns('', 
    5960       url(r'css/(?P<path>.*)$', 'django.views.static.serve', {'document_root': STATIC_ROOT+'/css' , 'show_indexes': True}), 
Note: See TracChangeset for help on using the changeset viewer.