Add redirect for images used by some community websites

This commit is contained in:
Magnus Hagander
2011-11-27 15:23:59 +01:00
parent df212bb2cd
commit 89088c8e99

View File

@ -88,6 +88,10 @@ urlpatterns = patterns('',
(r'^about/event\.(\d+)$', 'pgweb.legacyurl.views.event'),
(r'^community/signup', 'pgweb.legacyurl.views.signup'),
###
# Images that are used from other community sites
###
(r'^layout/images/(?P<f>[a-z0-9_\.]+)$', redirect_to, {'url': '/media/img/layout/%(f)s' }),
###
# These URLs were legacy even on the old site...
###