diff --git a/apps/transactions/migrations/0004_auto_20210511_0703.py b/apps/transactions/migrations/0004_auto_20210511_0703.py index 120608f..dcb8a64 100644 --- a/apps/transactions/migrations/0004_auto_20210511_0703.py +++ b/apps/transactions/migrations/0004_auto_20210511_0703.py @@ -4,7 +4,7 @@ from django.db import migrations def separate_fees(apps, schema_editor): - Person = apps.get_model('transactions', 'Transaction') + Transaction = apps.get_model('transactions', 'Transaction') for tr in Transaction.objects.all(): if tr.amount_before_fee > 0: tr.crypto_fee = tr.amount_before_fee - tr.amount_after_fee