From ece2ce09e485f83207994f83cac03ef9f36da5b2 Mon Sep 17 00:00:00 2001 From: hernani Date: Thu, 1 Jul 2010 18:47:03 +0000 Subject: [PATCH] Adds the option to enable/disable email digests and makes small tweak on the handling code. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@484 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/skins/default/templates/users/subscriptions.html | 1 + forum/views/users.py | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/forum/skins/default/templates/users/subscriptions.html b/forum/skins/default/templates/users/subscriptions.html index a27c0fe..dcbea98 100644 --- a/forum/skins/default/templates/users/subscriptions.html +++ b/forum/skins/default/templates/users/subscriptions.html @@ -22,6 +22,7 @@

+ {{ form.errors }}
diff --git a/forum/views/users.py b/forum/views/users.py index bf105c9..43464d8 100644 --- a/forum/views/users.py +++ b/forum/views/users.py @@ -305,8 +305,6 @@ def user_subscriptions(request, user): form.save() request.user.message_set.create(message=_('New subscription settings are now saved')) - else: - print form.errors else: form = SubscriptionSettingsForm(instance=user.subscription_settings) -- 2.39.5