Commit 4a871470 by Guba Sándor

dashboard: remove InstanceTemplate.state field

parent 6e78d75a
...@@ -554,7 +554,6 @@ class TemplateForm(forms.ModelForm): ...@@ -554,7 +554,6 @@ class TemplateForm(forms.ModelForm):
Field('description'), Field('description'),
Field("parent", type="hidden"), Field("parent", type="hidden"),
Field("system"), Field("system"),
Field("state"),
), ),
Fieldset( Fieldset(
_("Exeternal"), _("Exeternal"),
...@@ -569,6 +568,7 @@ class TemplateForm(forms.ModelForm): ...@@ -569,6 +568,7 @@ class TemplateForm(forms.ModelForm):
class Meta: class Meta:
model = InstanceTemplate model = InstanceTemplate
exclude = ('state', )
class LeaseForm(forms.ModelForm): class LeaseForm(forms.ModelForm):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment