Skip to content

Commit 2da90c8

Browse files
committed
Handle ^lib/ urls in development and test modes.
- Legacy-Id: 9892
1 parent 3a0a36b commit 2da90c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474

7575
if settings.SERVER_MODE in ('development', 'test'):
7676
urlpatterns += patterns('',
77-
(r'^(?P<path>(?:images|css|js|test|static|fonts|other)/.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_LOCAL}),
77+
(r'^(?P<path>(?:images|css|js|test|static|fonts|lib|other)/.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_LOCAL}),
7878
(r'^(?P<path>admin/(?:img|css|js)/.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_LOCAL}),
7979
(r'^(?P<path>secretariat/(img|css|js)/.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_LOCAL}),
8080
(r'^(?P<path>robots\.txt)$', 'django.views.static.serve', {'document_root': settings.STATIC_LOCAL+"dev/"}),

0 commit comments

Comments
 (0)