Hi, I am currently trying to pass in a value from a url and the perform a query based on that, i've tried this:
def category_view(request, category): current_entries = Entry.objects.filter(entry_cat=category).order_by("- entry_date") return render_to_response('blog/base.html', locals()) but I get this: Caught an exception while rendering: Truncated incorrect DOUBLE value: 'general' Is this because the value isn't a string, and how can I get it working, I know the value is being passed into the view correctly. Thanks, Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---