Hi, I need help in solving two small problems. 1. A form submitted, after validation calls HttpResponseRedirect (reverse('view.get_links',args=(request.POST['data'])))
In url pattern (r'^links/(?P<tname>.*)/',get_links), I am trying to send one more argument along with "request.POST ['data']" but it should not be part of pattern matching in URL. I tried adding it in args tuple and same arg in my view and I get this error: AttributeError at /links/dsf/ 'str' object has no attribute '_clone' 2. Another issue is I am trying to make a queryset using a loop something like for tag in tag_str: qs = qs & Tags.objects.filter(tag_name__exact = tag) return list_detail.object_list(request.....querset=qs,...) Please tell me if this is somewhere near correct? Thanks In Advance Guri --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---