from django.forms import forms
from policy.models import DroughtSpi
class DroughtSpiForm(forms.Model):
class Meta:
model = DroughtSpi
fields = ['code', 'year', 'month', 'value']