Sorry again, even better:
http://code.djangoproject.com/wiki/SplitSettings
fruity wrote:
> Thank you very much.
>
> After a while of searching on django-snippets there was the answer :)
>
> http://www.djangosnippets.org/snippets/94/
>
> Brice Leroy wrote:
>> Easy,
>> put your password in a
Thank you very much.
After a while of searching on django-snippets there was the answer :)
http://www.djangosnippets.org/snippets/94/
Brice Leroy wrote:
> Easy,
> put your password in a settings_secret.py file, do not import this
> file on your repository. Add:
> from settings_secret import my
Easy,
put your password in a settings_secret.py file, do not import this
file on your repository. Add:
from settings_secret import mysql_password
...
you're set :)
Brice
2009/12/21 fruity :
> Hello,
>
> I'd like to protect the mysql password that is in settings.py
>
> I read in the django docs
Hello,
I'd like to protect the mysql password that is in settings.py
I read in the django docs that is possible to use SHA1 hashes as
password for mysql and I've tried using mysql to salt and hash the
password but still if I would have my project on a public svn|git
repository anyone could just r
4 matches
Mail list logo