Skip to content

Commit 8fa009e

Browse files
committed
Remove .tox from git and update .gitignore; hide IShortName.id from edit form
1 parent 22e9127 commit 8fa009e

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ __pycache__/
99
.mypy_cache
1010
.pytest_cache
1111
.ruff_cache
12+
.tox/
1213
/build/
1314
coverage.xml
1415
dist/
-69.7 KB
Binary file not shown.

src/cs_dynamicpages/browser/forms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def _get_ordered_fields(self, all_fields_dict, allowed_fields):
4444
new_fields_list.append(all_fields_dict[matched_name])
4545
del all_fields_dict[matched_name]
4646

47-
# Always include Title and ID
48-
for n in ["IBasic.title", "title", "IShortName.id", "id"]:
47+
# Always include Title
48+
for n in ["IBasic.title", "title"]:
4949
if n in all_fields_dict:
5050
new_fields_list.append(all_fields_dict[n])
5151
del all_fields_dict[n]

0 commit comments

Comments
 (0)