is_coord decorator added and HttpResponseRedirect replaced by redirect function