Issue #910
closedPulp's use of Django is not production ready
Description
As we prepare to release Pulp's Django code, it needs to be touched up so that it is production ready.
In the settings.py file that Pulp sets DEBUG and TEMPLATE_DEBUG to True. This was helpful early on while porting Django, but now that the port is stable and to be released with Pulp 2.7.0 we should set these both to False.
Once these are disabled we will also need to update the ALLOWED_HOSTS setting which is bypassed while DEBUG=True. We set that setting here.
Finally the SECRET_KEY does not need to be kept secret in production or development so the scary warning above it needs to be removed.
These changes need to be sanity checked against the different version of Django for EL6, EL7, and FC21. You can install the desired version for testing using pip.
Turned off DEBUG in django settings.py
Fixes #910