On Wed, 2007-10-03 at 01:00 +0600, Densetsu no Ero-sennin wrote:
> I've just thought that it would be nice if Django supported pluggable hash 
> functions for passwords.

This is one of those cases where it's micro-customisation without real
widespread benefit. As a rule, when you need control over the hash
function, you also need to touch other authentication things. This is
supported as custom authentication backends. It's not that we
necessarily say people should only use our default storage method, it's
just that it is very much a real edge case to want to change just that
one feature.

Adding settings for every fine-grained feature leads to settings bloat
and maintenance problems in the future.

So we've made the common use-case (store and validate a password,
without caring about the mechanics) and the harder stuff (any
customisation you like) possible.

Malcolm


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to