example django app: removed warnings on django 1.8

compatible with django 1.4+
Merge pull request #878 from collinanderson/urls

example django app: removed warnings on django 1.8