reorganize example to work with django 1.7