[Answer]-Django 1.6: Matching query does not exist

1👍

This is why you should use the QueryDict methods as this:

s_name = request.GET.get('selection', None)
if not s_name:
    #if s_name is None
    #...

That way it will fallback correctly if s_name is not present.

Leave a comment