Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #14793 -- staticfiles documentation example overwrites urlpatte…

…rns. Thanks gg!

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d9eb31a98fc1ef3a0772fe3f6ff30b839710edd2 1 parent 6078436
@HonzaKral HonzaKral authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/contrib/staticfiles.txt
View
2  docs/ref/contrib/staticfiles.txt
@@ -282,7 +282,7 @@ primary URL configuration::
from django.conf import settings
if settings.DEBUG:
- urlpatterns = patterns('django.contrib.staticfiles.views',
+ urlpatterns += patterns('django.contrib.staticfiles.views',
url(r'^static/(?P<path>.*)$', 'serve'),
)
Please sign in to comment.
Something went wrong with that request. Please try again.