Re: dictionary update sequence

2013-06-10 Thread Marcin Szamotulski
Hi, This error message one gets in the following way: >>> dict('a') ValueError: dictionary update sequence element #0 has length 1; 2 is required I suspect that the second argument of your url is a keyword argument rather than a positional one. In this ca

Re: dictionary update sequence

2013-06-10 Thread Bill Freeman
nal to the regular expressiom application if you use named arguments. Good luck. Bill On Fri, Jun 7, 2013 at 2:40 PM, Rene Zelaya wrote: > Hi, > > I am getting the following error when the server tries to load one of my > templates and I am not sure what the problem is: > > dictio

dictionary update sequence

2013-06-07 Thread Rene Zelaya
Hi, I am getting the following error when the server tries to load one of my templates and I am not sure what the problem is: dictionary update sequence element #0 has length 1; 2 is required The error occurs at the following line in my template: However, I thought I was already passing it

Re: where is the error ?? dictionary update sequence element #0 has length 1; 2 is required

2008-10-24 Thread Net_Boy
Thank you for your help ,, --~--~-~--~~~---~--~~ 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

Re: where is the error ?? dictionary update sequence element #0 has length 1; 2 is required

2008-10-24 Thread Dj Gilcrease
url(r'^auction/(?P\d+)/bid_history/$', 'assignment3.auction.views.bid_history' , {}, name='bid_history'), try that Dj Gilcrease OpenRPG Developer ~~http://www.openrpg.com On Fri, Oct 24, 2008 at 5:38 AM, Net_Boy <[EMAIL PROTECTED]> wrote: > > I change it to : (r'^auction/(?P\d+)/bid_hist

Re: where is the error ?? dictionary update sequence element #0 has length 1; 2 is required

2008-10-24 Thread Net_Boy
I change it to : (r'^auction/(?P\d+)/bid_history/$', 'assignment3.auction.views.bid_history' , 'bid_history'), but I get error msg: Caught an exception while rendering: Reverse for 'assignment3.bid_history' with arguments '(2,)' and keyword arguments '{}' not found. it should say 'assignmen

Re: where is the error ?? dictionary update sequence element #0 has length 1; 2 is required

2008-10-24 Thread Net_Boy
it is an honor to get a reply from you sir , I saw your presentation in DjangoCon 2008 and I loved it :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: where is the error ?? dictionary update sequence element #0 has length 1; 2 is required

2008-10-24 Thread Malcolm Tredinnick
On Thu, 2008-10-23 at 23:59 -0700, Net_Boy wrote: [...] > --- > views.py: > def bid_history(request, object_id):item = get_object_or_404(Item, > item_id=object_id) > bid_history = Bid.objects.filter(bid_item=item).order_by('- > bid_price') > return render_to_response("bid_list

where is the error ?? dictionary update sequence element #0 has length 1; 2 is required

2008-10-24 Thread Net_Boy
I made a function for the bid_history and when I click on the Bid link in the item's details it gets the id of the item and got to the views.bidd_history it shows me an error : dictionary update sequence element #0 has length 1; 2 is required Why? --- views.py: def bid_hi