example django app: removed warnings on django 1.8

compatible with django 1.4+
Oh, didn't know that. Thanks @mlavin :)