On Jan 6, 3:03 pm, "Rubic" <[EMAIL PROTECTED]> wrote:
When a user logs on, I want to invoke a special method. There doesn't appear to be a way to add a hook/callback to django.contrib.auth.views.login, so my approach is to: ... This works fine, but I'm wondering if there's a better, less non-DRY way.
Couldn't you just define your own functions as you've done, but invoke the django.contrib.auth.view.login/logout functions directly before your pre-/post-processing? Cheers! --Chris Ryland / Em Software, Inc. / www.emsoftware.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

