Re: [GENERAL] Error registering at postgresql.org - Mailing list pgsql-www

From Magnus Hagander
Subject Re: [GENERAL] Error registering at postgresql.org
Date
Msg-id CABUevExkpGb_u+o-2eAcb1zobOUh8zkweSLXWk9R785h7o-ZEQ@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] Error registering at postgresql.org  (Magnus Hagander <magnus@hagander.net>)
Responses Re: [GENERAL] Error registering at postgresql.org
Re: [GENERAL] Error registering at postgresql.org
List pgsql-www

On Mon, Nov 5, 2012 at 7:20 PM, Magnus Hagander <magnus@hagander.net> wrote:

On Mon, Nov 5, 2012 at 6:50 PM, Marti Raudsepp <marti@juffo.org> wrote:
On Mon, Nov 5, 2012 at 7:44 PM, Magnus Hagander <magnus@hagander.net> wrote:
> I guess the proper way to deal with it is to define our own view that just
> has the @ssl_required decorator and then calls the django default view
> directly.

Here's an untested patch to do that.

I was already working on that part and have applied a very similar patch. Let's hope we didn't both break it.

Forgot to credit you with figuring out the problem - sorry! 


Turns out we were both badly mistaken on how easy that fix was. I've applied what I believe is a proper fix now, it certainly required  anumber of more arguments than we had in there in the first place.

Are you looking into the CSRF error message issue, or should I?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

pgsql-www by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [GENERAL] Error registering at postgresql.org
Next
From: "Daniel Serodio (lists)"
Date:
Subject: Re: [GENERAL] Error registering at postgresql.org