From 504fab5eccd89db5b56dd16bd7460f909eff9f8e Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 28 Aug 2013 17:45:57 +0200 Subject: [PATCH] forms: do not fix the identifier field in the get_or_create() call which creates new subscriptions, fixes #3495 --- portail_citoyen_announces/forms.py | 1 - 1 file changed, 1 deletion(-) diff --git a/portail_citoyen_announces/forms.py b/portail_citoyen_announces/forms.py index 38af4b1..187574d 100644 --- a/portail_citoyen_announces/forms.py +++ b/portail_citoyen_announces/forms.py @@ -45,6 +45,5 @@ class SubscriptionForm(forms.Form): for category, transport in wanted_subscriptions: models.Subscription.objects.get_or_create( user=self.user, - identifier='', category=category, transport=transport)