Commit c7f8ff0e by benjaoming

Merge pull request #343 from cXhristian/settings-subscriptions-count

Fix notification error in settings
parents 579c67e2 abd304bb
......@@ -29,7 +29,7 @@ class NotificationSettings(FormView):
_("You will receive notifications %(interval)s for "
"%(articles)d articles") % {
'interval': settings.get_interval_display(),
'articles': self.get_article_subscriptions(form.instance),
'articles': self.get_article_subscriptions(form.instance).count(),
}
)
return redirect('wiki:notification_settings')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment