See: http://blog.michaeltrier.com/2007/12/17/this-week-in-django-2-2007-12-16

On Dec 26, 4:56 pm, "Patryk Zawadzki" <[EMAIL PROTECTED]> wrote:
> 2007/12/26, kevinski <[EMAIL PROTECTED]>:
>
>
>
> > Not sure how useful this would be to the majority, but I discovered a
> > need for user authentication when using the Simple Generic Views, so I
> > had to add the Login_Required argument to views.generic.simple. I
> > would like to recommend this tweak be added.
>
> Generic views are just regular methods so it would be easier to create
> a one line wrapper calling the original and decorate it with
> @login_required
>
> --
> Patryk Zawadzki
> PLD Linux Distribution
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to