diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ae2ef854cbce2dcc10ba83cd91b6806284fda64c..3b4a70be33ebf01ed8c37cdff7e93ceb0471aef2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -13,6 +13,7 @@ Fixed ~~~~~ * PDF generation failed with S3 storage due to incompatibility with boto3 +* Form for editing group type displayed irrelevant fields `2.7`_ - 2022-01-24 ------------------- diff --git a/aleksis/core/forms.py b/aleksis/core/forms.py index f313c365e6bdb8d92b6c72cf9747aeadc9a0e367..58bbba7f63869e1212c50ecd7131fdcd4e72999a 100644 --- a/aleksis/core/forms.py +++ b/aleksis/core/forms.py @@ -353,7 +353,7 @@ class EditGroupTypeForm(forms.ModelForm): class Meta: model = GroupType - exclude = [] + fields = ["name", "description"] class SchoolTermForm(ExtensibleForm):