summaryrefslogtreecommitdiffstats
path: root/forum_modules
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-05-23 23:33:37 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-05-23 23:33:37 -0400
commit1881f765d56d842b4a0d31e2432e577fa01a6447 (patch)
tree97d3dc0c96dfb5d5b86cba004dd77025e89d0a84 /forum_modules
parent2eaa3c6a104fd5e598fc25084f8c2ecc6493ecee (diff)
downloadaskbot-1881f765d56d842b4a0d31e2432e577fa01a6447.tar.gz
askbot-1881f765d56d842b4a0d31e2432e577fa01a6447.tar.bz2
askbot-1881f765d56d842b4a0d31e2432e577fa01a6447.zip
closer to making instant notifications work
Diffstat (limited to 'forum_modules')
-rw-r--r--forum_modules/authentication/auth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/forum_modules/authentication/auth.py b/forum_modules/authentication/auth.py
index 96025dc1..b46e3df3 100644
--- a/forum_modules/authentication/auth.py
+++ b/forum_modules/authentication/auth.py
@@ -110,8 +110,8 @@ def login_and_forward(request, user, forward=None, message=None):
user.backend = "django.contrib.auth.backends.ModelBackend"
login(request, user)
- from forum.models import user_logged_in
- user_logged_in.send(user=user,session_key=old_session,sender=None)
+ from forum.models import signals#todo: move to auth app
+ signals.user_logged_in.send(user=user,session_key=old_session,sender=None)
if not forward:
signin_action = request.session.get('on_signin_action', None)