13 lines
319 B
Python
13 lines
319 B
Python
from django import forms
|
|
|
|
from core.widgets import JSONTableWidget
|
|
from payments.models import Transaction
|
|
|
|
|
|
class TransactionForm(forms.ModelForm): # type: ignore [type-arg]
|
|
class Meta:
|
|
model = Transaction
|
|
fields = "__all__"
|
|
widgets = {
|
|
"process": JSONTableWidget(),
|
|
}
|