Re: best option to override login_required decorator

2009-09-16 Thread Karen Tracey
On Wed, Sep 16, 2009 at 4:53 AM, Robert wrote: > > As a business requirement we have to show login form in an ajax > response for some login_required actions. I want to change the > login_required decorator to behaive differently in case the request is > an ajax request and not a normal GET / POS

best option to override login_required decorator

2009-09-16 Thread Robert
As a business requirement we have to show login form in an ajax response for some login_required actions. I want to change the login_required decorator to behaive differently in case the request is an ajax request and not a normal GET / POST request. What do you think is the best way to override