On Sun, 2006-03-12 at 00:31 +0000, coulix wrote: > urlpatterns = patterns('', > (r'^cefinban/recettes/$', 'cefinban.recettes.views.index'), > ) > > urlpatterns.extend(patterns('django.views.generic.simple',r'^cefinban/login_ok/$', > 'direct_to_template', {'template': 'login_ok'})) > > give me an error when accessing login_ok: > __init__() takes at most 4 arguments (21 given)
That usually means you are passing a string (of length 21 in this case) where a list or tuple of arguments is needed (even if just a 1-tuple). Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---