On 8/11/06, Seth Buntin <[EMAIL PROTECTED]> wrote: > In template W:/DjangoAppz/kate/templates/tick/base_search.html, error > at line 4 > Caught an exception while rendering: iteration over non-sequence ... > Any ideas? It might be simple this is my first try at views.
What is the value of results after this: results = Resource.objects.filter(title__icontains=request.POST['keyword'], description__icontains=request.POST['keyword']) ? Is your indentation really like this: def search(request): results = Resource.objects.filter(title__icontains=request.POST['keyword'], description__icontains=request.POST['keyword']) ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---