fix some Django 1.4 incompatibility bugs
Merge branch 'master' of github.com:dangtrinh/qaa