Fixing bug with running django app with server