- user.subscription_settings.save()\r
- request.user.message_set.create(message=_('New subscription settings are now saved'))\r
+ form.is_valid()\r
+ for k,v in form.cleaned_data.items():\r
+ setattr(user.subscription_settings, k, v)\r
+\r
+ user.subscription_settings.save()\r
+ request.user.message_set.create(message=_('New subscription settings are now saved'))\r