add hints

for django 1.7 compatiblity