fixes infinate recursion on django 1.6

Issue #92 made devserver unusable for anyone on 1.6