fix query failure on Django 1.3 or earlier
update the version to 1.0.10