#NEWLINE# @ register . simple_tag ( takes_context = True ) #NEWLINE# def get_class( context , field , obj = None ) : #NEWLINE# #INDENT# '\n    Looks up the class for this field\n    ' #NEWLINE# view = context [ 'view' ] #NEWLINE# return view . lookup_field_class ( field , obj , ( 'field_' + field ) )