I'm just getting into Django and I'm writing my own authentication
backend by implementing authenticate and get_user. Because my
authentication uses a different hash algorithim (not sha1), I want to
implement my own UserManager.create_user, User.set_password,
User.check_password etc, so that the password gets set correctly.
I suppose I could subclass these functions within my own application
but what's the best way to do this so that it still works with the
django admin screens (ie I can create users and reset passwords from
within the admin screens)
Thanks.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment