moneropro/app/charts/forms.py

8 lines
257 B
Python
Raw Normal View History

2022-08-15 19:25:33 +00:00
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']