Compare commits
No commits in common. "42fbd99c72b07ffc4c9b73a5868b1dfd5526e136" and "2beae209cda96a62f9bdde6b803b744a40c4b9b8" have entirely different histories.
42fbd99c72
...
2beae209cd
1 changed files with 0 additions and 1 deletions
|
|
@ -218,7 +218,6 @@ class CrdModelFormMixin:
|
||||||
name.startswith(f) for f in self.HIDDEN_FIELDS
|
name.startswith(f) for f in self.HIDDEN_FIELDS
|
||||||
):
|
):
|
||||||
field.widget = forms.HiddenInput()
|
field.widget = forms.HiddenInput()
|
||||||
field.required = False
|
|
||||||
|
|
||||||
if self.instance and self.instance.pk:
|
if self.instance and self.instance.pk:
|
||||||
self.fields["name"].disabled = True
|
self.fields["name"].disabled = True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue