debug push sub
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
from django.db import models
|
||||
from account.models import User, UserAddressModel
|
||||
from account.models import User, UserAddressModel, PushSubscription
|
||||
from product.models import ProductModel, ProductVariant
|
||||
from django.utils import timezone
|
||||
from .execptions import DiscountNotAvailableError
|
||||
|
||||
|
||||
class DiscountCode(models.Model):
|
||||
name = models.CharField(max_length=50, verbose_name='کد تخفیف')
|
||||
percent = models.DecimalField(max_digits=4, decimal_places=2, verbose_name='درصد')
|
||||
|
||||
Reference in New Issue
Block a user