Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def save_sip_response(status_pk, status_response, uuid_response):
- logging.info('save')
- logging.info(status_response)
- logging.info(uuid_response)
- model = QueueNumberStatus.objects.get(pk=status_pk)
- model.uuid_response = uuid_response
- model.status_response = status_response
- model.save(update_fields=['uuid_response', 'status_response'])
- logging.info(str(model))
- logging.info(str(model.uuid_response))
- logging.info('save done')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement