#NEWLINE# def load( path , debug = False ) : #NEWLINE# #INDENT# 'Loads the Django template from the given path.\n\n  It is better to use this function than to construct a Template using the\n  class below because Django requires you to load the template with a method\n  if you want imports and extends to work in the template.\n  ' #NEWLINE# if ( os . environ . get ( 'APPENGINE_RUNTIME' ) == 'python27' ) : #NEWLINE# #INDENT# warnings . warn ( _PYTHON27_DEPRECATION , DeprecationWarning , stacklevel = 2 ) #NEWLINE# return _load_internal_django ( path , debug ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return _load_user_django ( path , path )