moneropro/app/charts/forms.py
2024-11-11 23:58:39 +01:00

7 lines
257 B
Python

from .models import *
from django import forms
class CoinForm(forms.ModelForm):
class Meta:
model = Coin
fields = ['name', 'date', 'priceusd', 'pricebtc', 'inflation', 'transactions', 'hashrate', 'supply', 'fee', 'revenue', 'blocksize', 'difficulty']