projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
689f9d9
)
Change mailpref redirect to go to pglister
author
Magnus Hagander
<magnus@hagander.net>
Tue, 23 Jan 2018 20:12:15 +0000
(21:12 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Tue, 23 Jan 2018 20:12:15 +0000
(21:12 +0100)
pgweb/legacyurl/views.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/legacyurl/views.py
b/pgweb/legacyurl/views.py
index 27371190f9d0b250d9159bd2669943ed922f69e4..d85da0f45137978252bb5ef1c907f864a6d2f4a9 100644
(file)
--- a/
pgweb/legacyurl/views.py
+++ b/
pgweb/legacyurl/views.py
@@
-18,4
+18,5
@@
def html_extension(request, prior_to_html):
return HttpResponseRedirect("/%s" % prior_to_html)
def mailpref(request, listname):
- return HttpResponseRedirect("https://lists.postgresql.org/mj/mj_wwwusr/domain=postgresql.org?func=lists-long-full&extra=%s" % listname)
+ # Just redirect to the homepage of pglister, don't try specific lists
+ return HttpResponseRedirect("https://lists.postgresql.org/")