forms: copy mobile number from user model of portail-citoyen
This commit is contained in:
parent
580af16e72
commit
2d5db8a270
|
@ -45,5 +45,6 @@ class SubscriptionForm(forms.Form):
|
|||
for category, transport in wanted_subscriptions:
|
||||
models.Subscription.objects.get_or_create(
|
||||
user=self.user,
|
||||
identifier=self.user.mobile,
|
||||
category=category,
|
||||
transport=transport)
|
||||
|
|
Reference in New Issue