Commit abd304bb by Christian Duvholt

Fix notification error in settings

Article subsciptions was missing a .count()
parent 579c67e2
......@@ -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