You are right, coda2 editor somehow screws up python code indentation.  
Fixed that.  now getting this in django debugger in browser:

DisallowedHost at / 

Invalid HTTP_HOST header: 'dsite1.me'. You may need to add 'dsite1.me' to 
ALLOWED_HOSTS.



Traceback:

File 
"/var/www/dtuts/venv/lib/python3.5/site-packages/django/core/handlers/exception.py"
 
in inner
  39.             response = get_response(request)

File 
"/var/www/dtuts/venv/lib/python3.5/site-packages/django/utils/deprecation.py" 
in __call__
  134.             response = self.process_request(request)

File 
"/var/www/dtuts/venv/lib/python3.5/site-packages/django/middleware/common.py" 
in process_request
  57.         host = request.get_host()

File 
"/var/www/dtuts/venv/lib/python3.5/site-packages/django/http/request.py" in 
get_host
  113.             raise DisallowedHost(msg)

Exception Type: DisallowedHost at /
Exception Value: Invalid HTTP_HOST header: 'dsite1.me'. You may need to add 
'dsite1.me' to ALLOWED_HOSTS.

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to