Removed settings.DEBUG in urls.py