contributing: mention how to bypass security against running on localhost

This commit is contained in:
Emmanuel Gil Peyrot 2019-01-02 19:02:46 +01:00
parent 1bbdcc37dd
commit 193aaf8661

View File

@ -46,6 +46,13 @@ the ``settings.py`` file (in the ``dolweb/`` directory):
MEDIA_URL = '/m/user/'
STATIC_URL = '/m/static/'
Remove the redirection to HTTPS and allow localhost by modifying
``dolweb/settings.py``:
SECURE_SSL_REDIRECT = False
ALLOWED_HOSTS = ['localhost']
Then run ``migrate`` to create a default database.
python manage.py migrate