(self, model)
return [field.name for field in model._meta.get_fields() if field.name != "id" and not
                (field.get_internal_type() == "DateTimeField" and
                 (field.auto_now is True or field.auto_now_add is True)) and
                field.concrete and (not field.is_relation or field.one_to_one or
                                    (field.many_to_one and field.related_model))]
Returns fields other than id and uneditable fields (DateTimeField where auto_now or auto_now_add is True)
Returns fields other than id and uneditable fields (DateTimeField where auto_now or auto_now_add is True)
Returns fields other than id and uneditable fields ( DateTimeField where auto_now or auto_now_add is True )
def get_field_names_for_model(self, model):
        """
            Returns fields other than id and uneditable fields (DateTimeField where auto_now or auto_now_add is True)
        """
        return [field.name for field in model._meta.get_fields() if field.name != "id" and not
                (field.get_internal_type() == "DateTimeField" and
                 (field.auto_now is True or field.auto_now_add is True)) and
                field.concrete and (not field.is_relation or field.one_to_one or
                                    (field.many_to_one and field.related_model))]
def get_field_names_for_model ( self , model ) : return [ field . name for field in model . _meta . get_fields ( ) if field . name != "id" and not ( field . get_internal_type ( ) == "DateTimeField" and ( field . auto_now is True or field . auto_now_add is True ) ) and field . concrete and ( not field . is_relation or field . one_to_one or ( field . many_to_one and field . related_model ) ) ]