payment modeli yaratildi
This commit is contained in:
1
core/apps/payment/translation/__init__.py
Normal file
1
core/apps/payment/translation/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from .payment import * # noqa
|
||||
8
core/apps/payment/translation/payment.py
Normal file
8
core/apps/payment/translation/payment.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from modeltranslation.translator import TranslationOptions, register
|
||||
|
||||
from core.apps.payment.models import PaymentModel
|
||||
|
||||
|
||||
@register(PaymentModel)
|
||||
class PaymentTranslation(TranslationOptions):
|
||||
fields = []
|
||||
Reference in New Issue
Block a user