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_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.html", {"bid_history": bid_history}, context_instance=RequestContext(request)) ------------------------------------- urls.py: (r'^auction/(?P<object_id>\d+)/bid_history/$', 'bid_history', 'assignment3.auction.views.bid_history'), --------------------------------------- the link in thetemplate <a href="{% url bid_history object.id %}">Bid</ a> anyone? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---