Fixed #14793 -- staticfiles documentation example overwrites urlpatterns. Thanks gg!

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Honza Král 2010-11-27 18:36:41 +00:00
parent 60784363cf
commit d9eb31a98f
1 changed files with 1 additions and 1 deletions

View File

@ -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'),
)