Added wrapper around constant import because of Django changes