Author: Not specified Language: python
Description: Not specified Timestamp: 2013-06-17 16:49:48 +0000
View raw paste Reply
  1. from django.conf import settings
  2.  
  3. if settings.DEBUG:
  4.     urlpatterns += patterns('django.contrib.staticfiles.views',
  5.         url(r'^static/(?P<path>.*)$', 'serve'),
  6.     )
View raw paste Reply