On 5/14/08, Matthias Kestenholz <[EMAIL PROTECTED]> wrote: > > > Why don't you just replace the second line in your root URLconf with > this then? > > (r'^$', 'app.views.index'), > ^ ^ quotes here!
thanks, this is what i am using right now. the reason i want use a callable view function here is i can add decorator(like login_required) here, and make sure the view does exist(in case the wrong view name was typed). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---