Re: Search box: Nothing to repeat error

2010-01-05 Thread Delacroy Systems
Thank you very much, it worked. Here's the code...: def businessnamesearch_view(request): search = request.GET.get('business') business = Business.objects.filter(business__icontains=search) return render_to_response('portal/business_list.html', {'object_list

Re: Search box: Nothing to repeat error

2010-01-05 Thread Daniel Roseman
On Jan 5, 5:24 am, Delacroy Systems wrote: > I want to allow a user to search for a value and return the results > using the object_list generic view. How can I get this working? > > business_search.html: > {% block content %} >         >                 Business name: >                 > {% end

Search box: Nothing to repeat error

2010-01-04 Thread Delacroy Systems
I want to allow a user to search for a value and return the results using the object_list generic view. How can I get this working? business_search.html: {% block content %} Business name: {% endblock content %} urls.py: (r'^?business=(?P\w+)/','businessn