Don't allow editing the type of a fixture

This commit is contained in:
Roberto Rosario
2012-10-08 02:33:48 -04:00
parent 6966134c1d
commit a430a1ce73
2 changed files with 10 additions and 3 deletions

View File

@@ -22,6 +22,12 @@ class BootstrapSetupForm_view(DetailForm):
model = BootstrapSetup
class BootstrapSetupForm_edit(forms.ModelForm):
class Meta:
model = BootstrapSetup
exclude = ('type',)
class BootstrapSetupForm_dump(forms.ModelForm):
class Meta:
model = BootstrapSetup