Changeset - 76733b05472a
[Not reviewed]
0 2 0
Josh Simmons - 6 years ago 2018-07-05 19:16:55
joshuasimmons@google.com
update readme and add 127.0.0.1 to allowed hosts
2 files changed with 5 insertions and 4 deletions:
0 comments (0 inline, 0 general)
README.rst
Show inline comments
...
 
@@ -11,5 +11,6 @@ Development
 
1. pip install -r requirements/base.txt
 
2. python manage.py createsuperuser
 
3. python manage.py loaddata fixtures/*
 
4. python manage.py migrate
 
2. python manage.py migrate
 
3. python manage.py createsuperuser
 
4. python manage.py loaddata fixtures/*
 
5. python manage.py runserver
 

	
pinaxcon/settings.py
Show inline comments
...
 
@@ -24,3 +24,3 @@ DATABASES['default'].update(db_from_env)
 

	
 
ALLOWED_HOSTS = [".localhost", ".herokuapp.com", ".northbaypython.org"]
 
ALLOWED_HOSTS = [".localhost", ".herokuapp.com", ".northbaypython.org", "127.0.0.1"]
 
CANONICAL_HOST = os.environ.get("DJANGO_CANONICAL_HOST", None)
0 comments (0 inline, 0 general)