PaulMcMillan/django — pull request #1 by dstufft (2011-12-11 20:04:27+00:00)
Title: Feature/auth hashing

Updated ReadOnlyPasswordHashWidget and the Hashers to Returns a Safe Summary by asking the particular hasher of each password type for a safe representation.

The built in hashers are returning a SortedDict only so that the display in the admin is sorted. It would work jsut fine without that (it just doesn't look as nice imo).

I'm not sure if there's a better name for the method than safe_summary, but that's what I picked.

You also should probably review what I have returning for each hasher's safe summary to make sure they are indeed safe. I'm not a guru on the relative strengths of each of the hashers, and how important each item is to keep out of the admin.