Move AMOUNT_* and COUNTRIES to uncloud_pay/init.py

This commit is contained in:
fnux 2020-05-08 10:56:03 +02:00
commit 444d6ded28
5 changed files with 251 additions and 257 deletions

View file

@ -2,7 +2,7 @@ from django.contrib.auth.models import AbstractUser
from django.db import models
from django.core.validators import MinValueValidator
from uncloud import AMOUNT_DECIMALS, AMOUNT_MAX_DIGITS
from uncloud_pay import AMOUNT_DECIMALS, AMOUNT_MAX_DIGITS
from uncloud_pay.models import get_balance_for_user