fix missing titles in feature form
This commit is contained in:
parent
1316f6e481
commit
75f1560a09
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ class FeatureForm(ModelForm):
|
|||
if not settings.DIRECT_EDITING:
|
||||
self.fields['package'].widget = HiddenInput()
|
||||
self.fields['package'].disabled = True
|
||||
titles.update(self.instance.titles)
|
||||
elif not settings.DIRECT_EDITING:
|
||||
unlocked_packages = get_unlocked_packages(request)
|
||||
if len(unlocked_packages) == 1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue