Commits

John Costa committed 1754692

a few tweeks to make it work

Comments (0)

Files changed (2)

sample_project/local_settings.template

+DEBUG=False
 STATIC_ROOT = '/Users/jcosta/projects/example-webfaction-deploy/sample_project/static_root'
 STATICFILES_DIRS = (
     '/Users/jcosta/projects/example-webfaction-deploy/sample_project/static',
 STATIC_URL = '/static/'
 TEMPLATE_DIRS = (
     '/Users/jcosta/projects/example-webfaction-deploy/sample_project/templates',
-)
+)

sample_project/urls.py

 from django.conf.urls.defaults import *
+from django.contrib.staticfiles.urls import staticfiles_urlpatterns
 
 from sample_app.views import home
 
 urlpatterns = patterns('',
     url(r'^$', home, name='home'),
 )
+
+urlpatterns += staticfiles_urlpatterns()