()
return res - {"id"}
Returns a set of field attribute names to copy from QueuedSMS to SMS.
    This should be all fields in QueuedSMS except 'id'
Returns a set of field attribute names to copy from QueuedSMS to SMS.
    This should be all fields in QueuedSMS except 'id'
Returns a set of field attribute names to copy from QueuedSMS to SMS . This should be all fields in QueuedSMS except id
def _get_sms_fields_to_copy():
    """Returns a set of field attribute names to copy from QueuedSMS to SMS.
    This should be all fields in QueuedSMS except 'id'
    """
    res = set()
    for field in QueuedSMS._meta.get_fields():
        try:
            res.add(field.attname)  # use attname to avoid DB lookups for related models
        except AttributeError:
            res.add(field.name)
    return res - {"id"}
def _get_sms_fields_to_copy ( ) : res = set ( ) for field in QueuedSMS . _meta . get_fields ( ) : try : res . add ( field . attname ) # use attname to avoid DB lookups for related models except AttributeError : res . add ( field . name ) return res - { "id" }