Permalink
Browse files

enabling staticfiles with staticfile urlpatterns for local dev

  • Loading branch information...
1 parent 0794323 commit 353d1bfff83c7d0c1c81c1611747f0b8847b4456 @hbillings committed Oct 15, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 urls.py
  2. BIN urls.pyc
View
@@ -1,4 +1,5 @@
from django.conf.urls.defaults import *
+from django.contrib.staticfiles.urls import staticfiles_urlpatterns
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
@@ -15,3 +16,4 @@
# Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
)
+urlpatterns += staticfiles_urlpatterns()
View
BIN urls.pyc
Binary file not shown.

0 comments on commit 353d1bf

Please sign in to comment.