7 lines
257 B
Python
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']
|