Question: Im getting a single line entry in my log that just says 'GET 500 27' and the browser is showing a 500 error as well naturally. If the log is not giving me anything useful, then how can I go about troubleshooting this to see where the error is happening in Django?

EDIT: I should add that my dev environment is working just fine. 

EDIT II: yeah allowed hosts is set properly. It works fine in the django dev environment, and it was working fine in openshift until I started getting this error.

Answer: 
Ok so the traceback started showing again (I had to: CHROME: right click > Inspect element > network > preserve log) 

and then I found out that my problem was that I unknowingly deleted the MySQL database because I thought I wasn't using it. I had to then remove the SQLite db from gitignore and then re-push everything to use SQLite.
I think the 500 error belongs to these settings on settings.py:

```
DEBUG = os.environ.get('DEBUG') == 'True'`

```

Resolved by replacing with - 

```
DEBUG = True
if os.environ.get('DEBUG') is not None:
    DEBUG = os.environ.get('DEBUG') == 'True'

```