projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09426e2
)
Redirect /downloads/ to /download/
author
Magnus Hagander
<magnus@hagander.net>
Mon, 10 Sep 2012 11:16:18 +0000
(13:16 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Mon, 10 Sep 2012 11:16:18 +0000
(13:16 +0200)
Seems Berkus managed to push a broken link in the press release...
pgweb/urls.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/urls.py
b/pgweb/urls.py
index ef9f4a558e3ecc18a02847348c98eedfa75f25cc..0321941a857d3338f072e1f3b999f56e0cb4b527 100644
(file)
--- a/
pgweb/urls.py
+++ b/
pgweb/urls.py
@@
-84,6
+84,11
@@
urlpatterns = patterns('',
###
(r'^sitemap.xml', 'pgweb.core.views.sitemap'),
+ ###
+ # Workaround for broken links pushed in press release
+ ###
+ (r'^downloads/$', redirect_to, {'url': '/download/'}),
+
###
# Legacy URLs from the old website, that are likely to be used from other
# sites or press releases or such