from django import forms
from .models import Payment


class PaymentForm(forms.ModelForm):
    class Meta:
        model = Payment

        fields = [
            'code'
            'telephone',
            'amount'
        ]

from django import forms
from .models import Payment


class PaymentForm(forms.ModelForm):
    class Meta:
        model = Payment

        fields = [
            'code'
            'telephone',
            'amount'
        ]
