Easily solved the problem once I realized the difference between
HttpRequest and HttpResponse objects (doh!).
In the event another nub is looking to make stuff happen post-
successful login/logout here's the (now obvious) pseudo-code solution:
def user_login(request):
response = django.contrib.auth.views.login(request)
if request.user.is_authenticated():
do database stuff...
return response
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---