Re: View with keyword arguments

2009-08-15 Thread Juanjo Conti
So, positional arguments and keyword ones can't be mixed? 2009/8/15, Raja : > > 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

Re: View with keyword arguments

2009-08-15 Thread Raja
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 wrote: > In the examples seems not

Re: View with keyword arguments

2009-08-15 Thread Juanjo Conti
In the examples seems not to be mixed, positional and keyword arguments http://docs.djangoproject.com/en/dev/topics/http/urls/ 2009/8/15 Juanjo Conti : > Which is the correct signature for a view to be used with this url > ^vista/ejemplo1/(\d{3})/(?P\d{3})/$ ? > - > Juanjo Conti > -- Juanjo C

View with keyword arguments

2009-08-15 Thread Juanjo Conti
Which is the correct signature for a view to be used with this url ^vista/ejemplo1/(\d{3})/(?P\d{3})/$ ? - Juanjo Conti --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen