example django app: removed warnings on django 1.8

compatible with django 1.4+
Thanks @mlavin. So I think we should not target development version of Django(1.7 is just released and 1.4 is a LTS). @collinanderson could you update the patch to work on Django 1.4-1.7?