On Wed, Mar 26, 2008 at 4:49 PM, <[EMAIL PROTECTED]> wrote: > > reading chapter 12 of the django book ( > http://www.djangobook.com/en/1.0/chapter12/ > ) to try and figure out the best way to use the User system to make > sure users are registered and signed in before viewing page content. > > I'm currently using date_based generic views, here's my urls.py > http://dpaste.com/41463/ and the example in the book shows how to use > it with your views.py. > > My question is how can I use this with date_based generic views? I > want them to be able to view the archive_index (main page) even > without being logged in, but they must be logged in to view the other > pages.... >
See "Using functions directly in the URLConf" here: http://www.b-list.org/weblog/2007/nov/06/urlconf/ Karen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---