fixed annoying fucking deprecation warnings in django 1.5