Created
May 19, 2017 05:24
-
-
Save leopard627/084efc1b289e2e9f183511f59ebf3f4f to your computer and use it in GitHub Desktop.
test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 보면 이런식으로 여러줄의 라인을 한 줄로 만들 수 있습니다. | |
# style 1 | |
current_id = return_response.data["id"] | |
current_banking = LOLOBanking.objects.get(id=current_id) | |
current_banking.related_id = withdraw_account_id | |
current_banking.withdraw_type = withdraw_type | |
current_banking.bank_type = wa.bank_type | |
current_banking.save | |
# STYLE 2 | |
current_banking = LOLOBanking.objects.filter( | |
id=current_id).update( | |
related_id=withdraw_account_id, | |
withdraw_type=withdraw_type, | |
bank_type=wa.bank_type) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment