call the function warnings.warn with 3 arguments:
warnings . warn ( "resolve_variable() is deprecated. Use django.template." "Variable(path).resolve(context) instead" , RemovedInDjango20Warning , stacklevel = 2 )