def setlimits(self, vars):
    self.fields['namespace'] = forms.CharField(widget=forms.HiddenInput(), label='namespace', initial=vars)
    self.fields['type'] = forms.CharField(widget=forms.HiddenInput(), label='type', initial='limits')
def setlimits(self, vars):
    self.fields['namespace'] = forms.CharField(widget=forms.HiddenInput(), label='namespace', initial=vars)
    self.fields['type'] = forms.CharField(widget=forms.HiddenInput(), label='type', initial='limits')