Reported!
http://code.djangoproject.com/ticket/15328
Sincerely,
André Terra
2011/2/16 Łukasz Rekucki
> On 16 February 2011 19:46, Andre Terra wrote:
> > I should also add that the functionality described in the docs simply did
> > not work for me:
> >
> http://docs.djangoproject.com/en/dev//
On 16 February 2011 19:46, Andre Terra wrote:
> I should also add that the functionality described in the docs simply did
> not work for me:
> http://docs.djangoproject.com/en/dev//topics/class-based-views/#decorating-the-class
>
> My attempt to follow that approach is registered here:
> http://dp
I should also add that the functionality described in the docs simply did
not work for me:
http://docs.djangoproject.com/en/dev//topics/class-based-views/#decorating-the-class
My attempt to follow that approach is registered here:
http://dpaste.com/hold/423359/
Sincerely,
Andre Terra
On Wed, F
Thank you for sharing that, Pascal. I'm already using it on my project!
I've modified get_login_url to fallback to settings.LOGIN_URL, though.
I'll keep an eye open on the development of this, as CBVs really are great
to work with.
Sincerely,
Andre Terra
On Wed, Feb 9, 2011 at 4:06 PM, Pascal
Hi,
>> To make things a bit easier, I'm about to write my own mixin for that so
>> I only have to provide a method that checks if credentials are OK.
>
> As you've noticed, you can override the dispatch to decorate the view
> as required, and if you have a common authentication pattern, you can
>
On Tue, Feb 8, 2011 at 11:34 PM, Pascal Germroth wrote:
> Hi,
>
> I'm new to Django, but since this project will take a while I'm already
> using 1.3 alpha since it will probably be released when I'm done…
>
> As I understand it, the preferred method now are class-based views. But
> I seem to be m
Hi,
I'm new to Django, but since this project will take a while I'm already
using 1.3 alpha since it will probably be released when I'm done…
As I understand it, the preferred method now are class-based views. But
I seem to be missing some kind of AuthenticationMixin… right now, have
to override
7 matches
Mail list logo