Revision: 9743
Updated Code
at November 19, 2008 14:56 by tclancy
Updated Code
from django.conf import settings if settings.DEBUG: urlpatterns += patterns('', (r'^includes/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'C:/ClientWork/thosecleverkids/includes'}), )
Revision: 9742
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 19, 2008 13:57 by tclancy
Initial Code
if settings.DEBUG: urlpatterns += patterns('', (r'^includes/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'C:/ClientWork/thosecleverkids/includes'}), )
Initial URL
Initial Description
Add to bottom of urls.py
Initial Title
Django Serve Static Files from Local Directory (development-only)
Initial Tags
Initial Language
Django