#NEWLINE# def _render( self , csrf_token ) : #NEWLINE# #INDENT# if csrf_token : #NEWLINE# #INDENT# if ( self == 'NOTPROVIDED' ) : #NEWLINE# #INDENT# return Markup ( '' ) #NEWLINE# #UNINDENT# return Markup ( ( "<input type='hidden' name='csrfmiddlewaretoken' value='%s' />" % csrf_token ) ) #NEWLINE# #UNINDENT# if settings . DEBUG : #NEWLINE# #INDENT# import warnings #NEWLINE# warnings . warn ( 'A {% csrf_token %} was used in a template, but the contextdid not provide the value.  This is usually caused by not using RequestContext.' ) #NEWLINE# #UNINDENT# return ''