When you create a new project, django-admin.py will create a
SECRET_KEY and saves it in settings.py. Sometimes we are developing an
open source project, so we'll bring settings.py to public also. And
also make SECRET_KEY openned. So I think if django-admin.py could
create a file(maybe .key or key) when creating the project, and change
the SECRET_KEY to:
SECRET_KEY = file('.key', 'rb').read()
I think is better. And if django-admin.py also can recreate the key
file, is better, just like:
django-admin.py or manage.py createkey <filename>
This idea comes from zyons(http://zyons.com/). Thanks.
--
I like python!
My Blog: http://www.donews.net/limodou
My Django Site: http://www.djangocn.org
NewEdit Maillist: http://groups.google.com/group/NewEdit
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---