django 1.7 support

See http://kuttler.eu/post/runtimeerror-app-registry-isnt-ready-yet/