summaryrefslogtreecommitdiffstats
path: root/forum/models
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-05-09 15:18:10 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-05-09 15:18:10 -0400
commit56af1f30e5fc9bcab600d57506dc06db167730b1 (patch)
tree2231a41a02c547bb63417aa5747daa084f0e1cfd /forum/models
parent5ec0ae6635bc9ece491c23b18507f2a558ce14e5 (diff)
downloadaskbot-56af1f30e5fc9bcab600d57506dc06db167730b1.tar.gz
askbot-56af1f30e5fc9bcab600d57506dc06db167730b1.tar.bz2
askbot-56af1f30e5fc9bcab600d57506dc06db167730b1.zip
finished moving settings to livesettings, available at url /settings
Diffstat (limited to 'forum/models')
-rw-r--r--forum/models/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/forum/models/__init__.py b/forum/models/__init__.py
index 5140f9e1..024379db 100644
--- a/forum/models/__init__.py
+++ b/forum/models/__init__.py
@@ -408,8 +408,8 @@ def record_user_full_updated(instance, **kwargs):
def post_stored_anonymous_content(sender,user,session_key,signal,*args,**kwargs):
aq_list = AnonymousQuestion.objects.filter(session_key = session_key)
aa_list = AnonymousAnswer.objects.filter(session_key = session_key)
- from django.conf import settings
- if settings.EMAIL_VALIDATION == 'on':#add user to the record
+ from forum.conf import settings as forum_settings
+ if forum_settings.EMAIL_VALIDATION == True:#add user to the record
for aq in aq_list:
aq.author = user
aq.save()