mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-05 18:34:52 +00:00
Add redirect for images used by some community websites
This commit is contained in:
@ -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...
|
||||
###
|
||||
|
Reference in New Issue
Block a user