Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

enabling staticfiles with staticfile urlpatterns for local dev

  • Loading branch information...
commit 353d1bfff83c7d0c1c81c1611747f0b8847b4456 1 parent 0794323
@hbillings authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  urls.py
  2. BIN  urls.pyc
View
2  urls.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.