diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-05-23 23:33:37 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2010-05-23 23:33:37 -0400 |
commit | 1881f765d56d842b4a0d31e2432e577fa01a6447 (patch) | |
tree | 97d3dc0c96dfb5d5b86cba004dd77025e89d0a84 /fbconnect/views.py | |
parent | 2eaa3c6a104fd5e598fc25084f8c2ecc6493ecee (diff) | |
download | askbot-1881f765d56d842b4a0d31e2432e577fa01a6447.tar.gz askbot-1881f765d56d842b4a0d31e2432e577fa01a6447.tar.bz2 askbot-1881f765d56d842b4a0d31e2432e577fa01a6447.zip |
closer to making instant notifications work
Diffstat (limited to 'fbconnect/views.py')
-rw-r--r-- | fbconnect/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fbconnect/views.py b/fbconnect/views.py index 1781f6bf..91ea757a 100644 --- a/fbconnect/views.py +++ b/fbconnect/views.py @@ -92,8 +92,8 @@ def login_and_forward(request, user, newquestion = False, newanswer = False): login(request, user) logging.debug('user logged in!') - 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 authentication app + signals.user_logged_in.send(user=user,session_key=old_session,sender=None) logging.debug('user_logged_in signal sent') if (newquestion): |