On Wed, 2006-08-16 at 00:16 +0000, Seth Buntin wrote:
> This might be a stupid question (and maybe off topic) but what does the
> secret key do and why is it there?

If we told you it wouldn't be secret, now would it? Really... people
should think before asking these question... :-)

More seriously, it is used to salt various strings (add a random bit of
content to them) before we create hashes in various places. Ironically,
I can't find anywhere we are actually using it as key for some
reversible process -- so it's really SECRET_SALT (mmm..
SECRET_SAUCE...).

Just grepping through the source tree for all occurrences of the string
might give you an idea of where it's used.

Best wishes,
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to