From 9715f60fc2eb5ce162927275c220007270a21aa7 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 16 Jun 2015 14:25:37 +0200 Subject: [PATCH] Hide the default field from the collectivity form (fixes #7582) --- src/authentic2_pratic/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authentic2_pratic/forms.py b/src/authentic2_pratic/forms.py index 7246d32..5e38e19 100644 --- a/src/authentic2_pratic/forms.py +++ b/src/authentic2_pratic/forms.py @@ -47,7 +47,7 @@ class CertificateMixin(forms.ModelForm): class CollectivityForm(CertificateMixin, BaseForm): class Meta: model = models.Collectivity - exclude = ('uuid',) + exclude = ('uuid', 'default') class ServiceInstanceForm(BaseForm): class Meta: