- Timestamp:
- 27/09/12 12:59:16 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mauRepo/MolesManager/trunk/cedaMoles/MolesManager/urls.py
r8573 r8576 3 3 from django.contrib.staticfiles.urls import staticfiles_urlpatterns 4 4 from cedaMoles.MolesManager.settings import STATIC_ROOT, STATIC_URL 5 from cedaMoles.MolesManager.settings_local import SERVE_LOCAL_STATIC_FILE 5 6 6 7 # Uncomment the next two lines to enable the admin: … … 55 56 ) 56 57 57 if S TATIC_URL == 'http://127.0.0.1:8000/static/':58 if SERVE_LOCAL_STATIC_FILE: 58 59 urlpatterns += patterns('', 59 60 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.