Add display name field #331

Merged
tobru merged 18 commits from 290-display-name into main 2025-12-11 15:33:00 +00:00
Showing only changes of commit 3528c3b4f5 - Show all commits

View file

@ -254,7 +254,7 @@ class ServiceDefinitionAdminForm(forms.ModelForm):
if not schema or not (spec_schema := schema.get("properties", {}).get("spec")): if not schema or not (spec_schema := schema.get("properties", {}).get("spec")):
return return
valid_paths = self._extract_field_paths(spec_schema, "spec") | {"name"} valid_paths = self._extract_field_paths(spec_schema, "spec") | {"display_name"}
included_mappings = set() included_mappings = set()
errors = [] errors = []
for fieldset in form_config.get("fieldsets", []): for fieldset in form_config.get("fieldsets", []):