#NEWLINE# def get_context( self , name , value , attrs ) : #NEWLINE# #INDENT# context = super ( SlugInput , self ) . get_context ( name , value , attrs ) #NEWLINE# context [ 'attrs' ] [ 'pattern' ] = '[-\\w]+' #NEWLINE# return context