Got it! On Thu, Aug 26, 2010 at 2:56 PM, Bradley Hintze <bradle...@aggiemail.usu.edu> wrote: > A found the template error, a typo. But now I have an impor error: > > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] mod_wsgi > (pid=1440): Exception occurred processing WSGI script > '/Users/bradleyhintze/djcode/MolProbity_Compare_test/apache/django.wsgi'., > referer: http://summit.research.duhs.duke.edu/home/ > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] Traceback > (most recent call last):, referer: > http://summit.research.duhs.duke.edu/home/ > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] File > "/Library/Python/2.6/site-packages/django/core/handlers/wsgi.py", line > 230, in __call__, referer: http://summit.research.duhs.duke.edu/home/ > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] > self.load_middleware(), referer: > http://summit.research.duhs.duke.edu/home/ > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] File > "/Library/Python/2.6/site-packages/django/core/handlers/base.py", line > 33, in load_middleware, referer: > http://summit.research.duhs.duke.edu/home/ > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] for > middleware_path in settings.MIDDLEWARE_CLASSES:, referer: > http://summit.research.duhs.duke.edu/home/ > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] File > "/Library/Python/2.6/site-packages/django/utils/functional.py", line > 276, in __getattr__, referer: > http://summit.research.duhs.duke.edu/home/ > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] > self._setup(), referer: http://summit.research.duhs.duke.edu/home/ > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] File > "/Library/Python/2.6/site-packages/django/conf/__init__.py", line 40, > in _setup, referer: http://summit.research.duhs.duke.edu/home/ > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] > self._wrapped = Settings(settings_module), referer: > http://summit.research.duhs.duke.edu/home/ > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] File > "/Library/Python/2.6/site-packages/django/conf/__init__.py", line 75, > in __init__, referer: http://summit.research.duhs.duke.edu/home/ > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] raise > ImportError("Could not import settings '%s' (Is it on sys.path? Does > it have syntax errors?): %s" % (self.SETTINGS_MODULE, e)), referer: > http://summit.research.duhs.duke.edu/home/ > [Thu Aug 26 14:50:50 2010] [error] [client 152.16.223.251] > ImportError: Could not import settings > 'MolProbity_Compare_test.settings' (Is it on sys.path? Does it have > syntax errors?): No module named settings, referer: > http://summit.research.duhs.duke.edu/home/ > > I do have it on the sys.path in django.wsgi, here it is: > > import os > import sys > sys.path.append('/Users/bradleyhintze/djcode') > sys.path.append('/Users/bradleyhintze/djcode/MolProbity_Compare_test') > > os.environ['DJANGO_SETTINGS_MODULE'] = 'MolProbity_Compare_test.settings' > > import django.core.handlers.wsgi > application = django.core.handlers.wsgi.WSGIHandler() > > Any ideas?? > Thanks, > Bradley > > On Thu, Aug 26, 2010 at 2:50 PM, Piotr Kilczuk <kilc...@gmail.com> wrote: >> Hi, >> >> If you need to debug, set DEBUG to True, obviously... >> >> Second thing - what is your TEMPLATE_DIRS and TEMPLATE_LOADERS setting? >> >> Regards, >> Piotr >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To post to this group, send email to django-us...@googlegroups.com. >> To unsubscribe from this group, send email to >> django-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> >> > > > > -- > Bradley J. Hintze > Graduate Student > Duke University > School of Medicine > 801-712-8799 >
-- Bradley J. Hintze Graduate Student Duke University School of Medicine 801-712-8799 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.