I see a Django 500 Error when I set DEBUG = False to Django. I am using Django 1.5 and Python 2.7 . I also included ALLOWED_HOSTS in my template. Here are my full settings.py:
# Django settings for genalytics project. from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS import djcelery import os __file__ = os.getcwd() ROOT_PATH = os.path.dirname(__file__) djcelery.setup_loader()
What's wrong?
The log is updated as suggested by Ryu_hayabusa, and I get this error in the console:
Unhandled exception in thread started by <bound method Command.inner_run of <django.contrib.staticfiles.management.commands.runserver.Command object at 0x22e08d0>> Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 114, in inner_run ipv6=self.use_ipv6, threading=threading) File "/usr/local/lib/python2.7/dist-packages/django/core/servers/basehttp.py", line 193, in run httpd.serve_forever() File "/usr/lib/python2.7/SocketServer.py", line 235, in serve_forever r, w, e = _eintr_retry(select.select, [self], [], [], AttributeError: 'NoneType' object has no attribute 'select'
pynovice
source share