setting debug to true in settings.py