From 72e7f0dc09e154e30ab2f445afd2c07bd097baf0 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 19 Mar 2012 20:20:11 +0100 Subject: [PATCH] admin newsletter --- pandora/user/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/user/models.py b/pandora/user/models.py index 52549cc2..683ae9f9 100644 --- a/pandora/user/models.py +++ b/pandora/user/models.py @@ -198,7 +198,7 @@ def user_post_save(sender, instance, **kwargs): profile, new = UserProfile.objects.get_or_create(user=instance) if new and instance.is_superuser: profile.level = len(settings.CONFIG['userLevels']) - 1 - profile.newsletter = settings.CONFIG['user']['newsletter'] + profile.newsletter = True profile.save() SessionData.objects.filter(user=instance).update(level=profile.level, username=instance.username)