forked from uncloud/uncloud
Pay: move some model-related methods from helpers to models
Otherwise we end up in circular dependency hell
This commit is contained in:
parent
e0cb6ac670
commit
9aabc66e57
6 changed files with 108 additions and 107 deletions
|
|
@ -1,7 +1,6 @@
|
|||
from django.core.management.base import BaseCommand
|
||||
from uncloud_auth.models import User
|
||||
from uncloud_pay.models import Order, Bill
|
||||
from uncloud_pay.helpers import get_balance_for, get_payment_method_for
|
||||
from uncloud_pay.models import Order, Bill, get_balance_for
|
||||
|
||||
from datetime import timedelta
|
||||
from django.utils import timezone
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue