def setquotas(self, spec_hard):
    for k in spec_hard:
        self.fields[k] = forms.CharField(label=k, required=False, initial=spec_hard[k])
def setquotas(self, spec_hard):
    for k in spec_hard:
        self.fields[k] = forms.CharField(label=k, required=False, initial=spec_hard[k])