Commit 1ce7515e authored by Johan Bloemberg's avatar Johan Bloemberg

Dont' break development.

parent 165b2322
layout python3
export DEBUG=1
......@@ -102,6 +102,7 @@ Alternatively you can manually create a virtualenv using:
Be sure to active the environment before starting development every time:
. venv/bin/activate
export DEBUG=1
# Thanks to
This project is being maintained by the [Internet Cleanup Foundation](https://internetcleanup.foundation).
......
......@@ -29,7 +29,7 @@ SECRET_KEY = os.environ.get('SECRET_KEY', 'ditisgeengeheimvriendachtjedatditeenw
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ.get('DEBUG', False)
ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', '').split(',')
ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', 'localhost,127.0.0.1,::1').split(',')
INTERNAL_IPS = [
'127.0.0.1'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment