#NEWLINE# def list_db_fields_from_model( this_model ) : #NEWLINE# #INDENT# " Don't include autogenerated fields " #NEWLINE# field_list = [ ] #NEWLINE# for field in this_model . _meta . fields : #NEWLINE# #INDENT# if ( not field . auto_created ) : #NEWLINE# #INDENT# field_list . append ( field . column ) #NEWLINE# #UNINDENT# #UNINDENT# return sorted ( field_list )