From 529d4baab57d1f3aeae2cc6e3fe51e5e51763da7 Mon Sep 17 00:00:00 2001 From: Neha Purohit Date: Mon, 31 Oct 2016 23:59:16 +0530 Subject: [PATCH 1/3] Add allowed host to all --- projectname/settings/default.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projectname/settings/default.py b/projectname/settings/default.py index fcfc8e4..cc3bb6d 100644 --- a/projectname/settings/default.py +++ b/projectname/settings/default.py @@ -19,8 +19,7 @@ DEBUG = False TEMPLATE_DEBUG = DEBUG -ALLOWED_HOSTS = ( - +ALLOWED_HOSTS = ("*" ) # SECURITY WARNING: keep the secret key used in production secret! From 5d523c5d303dfcd494ed8416a3bf74b58512727d Mon Sep 17 00:00:00 2001 From: Neha Purohit Date: Tue, 1 Nov 2016 00:03:10 +0530 Subject: [PATCH 2/3] Add allowed host to all --- projectname/settings/default.py | 2 +- templates/home.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projectname/settings/default.py b/projectname/settings/default.py index cc3bb6d..921f2d2 100644 --- a/projectname/settings/default.py +++ b/projectname/settings/default.py @@ -19,7 +19,7 @@ DEBUG = False TEMPLATE_DEBUG = DEBUG -ALLOWED_HOSTS = ("*" +ALLOWED_HOSTS = ( ) # SECURITY WARNING: keep the secret key used in production secret! diff --git a/templates/home.html b/templates/home.html index 8d9df41..9d9cc48 100755 --- a/templates/home.html +++ b/templates/home.html @@ -1,4 +1,4 @@ -{% extends 'base.html' %} +{% extends 'base.html' %} {% block title %}Home Page{% endblock %} From f2a5dc22e0edfc7c8acb9d4229e81b571338f422 Mon Sep 17 00:00:00 2001 From: Neha Purohit Date: Tue, 1 Nov 2016 00:23:11 +0530 Subject: [PATCH 3/3] Update Readme text --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index df6bc5b..9160be7 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ wsgiref==0.1.2 ## Installation + ### 1. virtualenv / virtualenvwrapper You should already know what is [virtualenv](http://www.virtualenv.org/), preferably [virtualenvwrapper](http://www.doughellmann.com/projects/virtualenvwrapper/) at this stage. So, simply create it for your own project, where `projectname` is the name of your project: