#NEWLINE# def check_isdict( cls , label , obj ) : #NEWLINE# #INDENT# if ( not isinstance ( label , dict ) ) : #NEWLINE# #INDENT# raise ImproperlyConfigured ( ( "'%s.%s' must be a dictionary." % ( cls . __name__ , label ) ) )