compatible to django 1.5
Merge pull request #39 from LeaFin/patch-1

compatible to django 1.5