#NEWLINE# @ staticmethod #NEWLINE# def in_postgres( model ) : #NEWLINE# #INDENT# app_label = model . _meta . app_label #NEWLINE# model_name = model . _meta . model_name #NEWLINE# return ( ( model == 'cachalot' ) and ( model_name == 'postgresmodel' ) )