I ran into another spot where not having my login at /accounts/login made things difficult...
I'm using the password reset functionality. When the user enters their email and they get sent a password it is including a link to the password change form. When the user isn't yet logged in, password_change has a login_require decorator which redirects to /accounts/login/. I did create my own login decorator for this site for my own views that are using it. But to use my decorator for the password views would mean duplicating (or copying) all that code. Are there any tricks one can do? Maybe tell my application that password_change = django.contrib.auth.views.password_change and use my own decorator? (Just now thought of that.) It's certainly not a big deal to make my URLs better match what Django expects. But at the outset, I assumed it would be easier. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---
