summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-08-28 15:45:57 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-08-28 15:45:57 (GMT)
commit504fab5eccd89db5b56dd16bd7460f909eff9f8e (patch)
tree461e1aad029bdc2db9197531c863074ea1812aed
parenta56c561e1c743bb5d951a33399742ea41763e39f (diff)
downloadportail-citoyen-announces-504fab5eccd89db5b56dd16bd7460f909eff9f8e.zip
portail-citoyen-announces-504fab5eccd89db5b56dd16bd7460f909eff9f8e.tar.gz
portail-citoyen-announces-504fab5eccd89db5b56dd16bd7460f909eff9f8e.tar.bz2
forms: do not fix the identifier field in the get_or_create() call which creates new subscriptions, fixes #3495
-rw-r--r--portail_citoyen_announces/forms.py1
1 files changed, 0 insertions, 1 deletions
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)