I remember using a middleware with an exception list. (more than a year ago)
On 10-12-18 05:35, Łukasz Rekucki wrote:
On 18 December 2010 13:48, James Bennett wrote:
On Fri, Dec 17, 2010 at 8:43 PM, suckerfish wrote:
I've added a decorator to *each* def in views.py to require
authentication.
On 18 December 2010 13:48, James Bennett wrote:
> On Fri, Dec 17, 2010 at 8:43 PM, suckerfish wrote:
>> I've added a decorator to *each* def in views.py to require
>> authentication. Is there a simpler way that allows me to apply
>> authentication automatically to every def in the file?
>
> 1. Wr
On 18 December 2010 12:24, Jonas H. wrote:
> On 12/18/2010 10:30 AM, Łukasz Rekucki wrote:
>>
>> On 18 December 2010 03:43, suckerfish wrote:
>>>
>>> Hi guys
>>>
>>> I've added a decorator to *each* def in views.py to require
>>> authentication. Is there a simpler way that allows me to apply
>>>
On Fri, Dec 17, 2010 at 8:43 PM, suckerfish wrote:
> I've added a decorator to *each* def in views.py to require
> authentication. Is there a simpler way that allows me to apply
> authentication automatically to every def in the file?
1. Write a middleware which will force authentication on all y
On 12/18/2010 10:30 AM, Łukasz Rekucki wrote:
On 18 December 2010 03:43, suckerfish wrote:
Hi guys
I've added a decorator to *each* def in views.py to require
authentication. Is there a simpler way that allows me to apply
authentication automatically to every def in the file?
Depends on your
On 18 December 2010 03:43, suckerfish wrote:
> Hi guys
>
> I've added a decorator to *each* def in views.py to require
> authentication. Is there a simpler way that allows me to apply
> authentication automatically to every def in the file?
Depends on your code editor ?
--
Łukasz Rekucki
--
Y
Hi guys
I've added a decorator to *each* def in views.py to require
authentication. Is there a simpler way that allows me to apply
authentication automatically to every def in the file?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
7 matches
Mail list logo