I haven't really used generic views that often, but I know you could always
extend them by creating your own views.
Inside your views.py:

from django.views.generic.list_detail import object_list

@login_required
def my_list(*args, **kwargs):
    return object_list(*args, **kwargs)

- Hugh

On 10/25/07, Mike Maravillo <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
> I'm using the django.views.generic.list_detail.object_list generic view
> because of the handy pagination.  However, I need to have the user accessing
> the page to be authenticated first.  Is there any other way than doing the
> check on the template?  Thanks very much.
>
> Mike
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to