mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-24 15:30:44 +03:00
Use PYTHONHASHSEED=random
- Django reccomends setting the PYTHONHASHSEED environment variable to random. See: https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/#python-options
This commit is contained in:
parent
b2816c0e94
commit
696eca2fd2
|
@ -183,6 +183,8 @@ Run these commands to deploy the project to Heroku:
|
|||
heroku config:set DJANGO_MAILGUN_SERVER_NAME=YOUR_MALGUN_SERVER
|
||||
heroku config:set DJANGO_MAILGUN_API_KEY=YOUR_MAILGUN_API_KEY
|
||||
|
||||
heroku config:set PYTHONHASHSEED=random
|
||||
|
||||
git push heroku master
|
||||
heroku run python manage.py migrate
|
||||
heroku run python manage.py check --deploy
|
||||
|
|
Loading…
Reference in New Issue
Block a user