So, positional arguments and keyword ones can't be mixed? 2009/8/15, Raja <rajas...@gmail.com>: > > Is there a reason to mix the positional and keyword arguments. If you > use > def my_view(request,*arg, **kwargs): > .. > > kwargs will contain { 'name': value for the second grouping } and the > first group will not be used. > > -- raja > > > On Aug 15, 5:24 pm, Juanjo Conti <jjco...@gmail.com> wrote: >> In the examples seems not to be mixed, positional and keyword >> argumentshttp://docs.djangoproject.com/en/dev/topics/http/urls/ >> >> 2009/8/15 Juanjo Conti <jjco...@gmail.com>: >> >> > Which is the correct signature for a view to be used with this url >> > ^vista/ejemplo1/(\d{3})/(?P<name>\d{3})/$ ? >> > - >> > Juanjo Conti >> >> -- >> Juanjo Conti > > >
-- Enviado desde mi dispositivo móvil Juanjo Conti --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---