call the method warnings.warn with string '"validate" has been deprecated in favor of "check".' and RemovedInDjango19Warning as arguments.
warnings . warn ( '"validate" has been deprecated in favor of "check".' , RemovedInDjango19Warning )