Skip to content

Commit f9fa3eb

Browse files
committed
Modified the development and test settings for static files to match the new settings.
- Legacy-Id: 9888
1 parent a2bd61c commit f9fa3eb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

ietf/urls.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@
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_ROOT}),
78-
(r'^(?P<path>admin/(?:img|css|js)/.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT}),
79-
(r'^(?P<path>secretariat/(img|css|js)/.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT}),
80-
(r'^(?P<path>robots\.txt)$', 'django.views.static.serve', {'document_root': settings.STATIC_ROOT+"dev/"}),
77+
(r'^(?P<path>(?:images|css|js|test|static|fonts|other)/.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_LOCAL}),
78+
(r'^(?P<path>admin/(?:img|css|js)/.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_LOCAL}),
79+
(r'^(?P<path>secretariat/(img|css|js)/.*)$', 'django.views.static.serve', {'document_root': settings.STATIC_LOCAL}),
80+
(r'^(?P<path>robots\.txt)$', 'django.views.static.serve', {'document_root': settings.STATIC_LOCAL+"dev/"}),
8181
(r'^_test500/$', lambda x: None),
8282
(r'^environment/$', 'ietf.help.views.environment'),
8383
)

0 commit comments

Comments
 (0)