http://docs.djangoproject.com/en/dev/topics/auth/#limiting-access-to-generic-views

hope this helps. Basically you write your own view which calls the
generic view after you have done your authentication.

On Apr 16, 11:25 am, Col Wilson <col.wilson.em...@googlemail.com>
wrote:
> I'm using generic views to render my pages
> (django.views.generic.date_based, django.views.generic.list_detail
> etc) and they're very handy.
>
> However, the app I'm trying to build would like a security and on
> reading the "User Authentication in Django" document, it just talks
> about adding authentication to the views.
>
> Generic views of course are buried in the django installation
> directories and you don't want to go messing about in there, so it's
> not obvious to me how I can do that.
>
> Can someone give me a hand please?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to