back out change which broke something.
Configure allowed_hosts in config file so sites can run with debug off.
Merge branch 'master' into david

Conflicts:
	bwf_site/bwf/settings.py