Add redirects as required to deal with legacy urls, for all the stuff

that was in .htaccess files on the old site.
This commit is contained in:
Magnus Hagander
2010-06-22 11:17:49 +02:00
parent f0e33b3718
commit 34023288b8
3 changed files with 23 additions and 0 deletions

View File

@ -16,3 +16,6 @@ def signup(request):
def html_extension(request, prior_to_html):
return HttpResponseRedirect("/%s" % prior_to_html)
def mailpref(request, listname):
return HttpResponseRedirect("http://mail.postgresql.org/mj/mj_wwwusr/domain=postgresql.org?func=lists-long-full&extra=%s" % listname)