Posted By

tclancy on 11/19/08


debugging localhost

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Django Serve Static Files from Local Directory (development-only)

 / Published in: Django

Add to bottom of

  1. from django.conf import settings
  3. if settings.DEBUG:
  4. urlpatterns += patterns('',
  5. (r'^includes/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'C:/ClientWork/thosecleverkids/includes'}),
  6. )

Report this snippet  

You need to login to post a comment.