Re: ***SPAM*** Re: Deployment issues: ViewDoesNotExist error

2007-09-27 Thread Thomas Guettler
... > However, if I mimic the wsgi script as follows: > > cd /home/missed/django/projectsmt/ > python > > >>> import os, sys > >>> sys.path.insert(0, '/home/missed/django') > >>> sys.path.insert(0, '/home/missed/django/projectsmt') > >>> os.environ['DJANGO_SETTINGS_MODULE'] = 'projectsmt.settings'

Re: Deployment issues: ViewDoesNotExist error

2007-09-26 Thread Steve Potter
On Sep 26, 10:02 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 9/26/07, Steve Potter <[EMAIL PROTECTED]> wrote: > > > user = models.ForeignKey(auth.models.User) > > > It appears that the django.contrib.auth is missing the models > > attribute. > > No, it's not. Most likely there's a bad impo

Re: Deployment issues: ViewDoesNotExist error

2007-09-26 Thread James Bennett
On 9/26/07, Steve Potter <[EMAIL PROTECTED]> wrote: > user = models.ForeignKey(auth.models.User) > > It appears that the django.contrib.auth is missing the models > attribute. No, it's not. Most likely there's a bad import statement in your models file, or no import statement, or you've got two t

Re: Deployment issues: ViewDoesNotExist error

2007-09-26 Thread Steve Potter
On Sep 26, 9:36 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 9/26/07, Steve Potter <[EMAIL PROTECTED]> wrote: > > > ViewDoesNotExist: Tried index in module projectsmt.imglog.views. Error > > was: 'module' object has no attribute 'models' > > Something in your views module is trying to imp

Re: Deployment issues: ViewDoesNotExist error

2007-09-26 Thread James Bennett
On 9/26/07, Steve Potter <[EMAIL PROTECTED]> wrote: > ViewDoesNotExist: Tried index in module projectsmt.imglog.views. Error > was: 'module' object has no attribute 'models' Something in your views module is trying to import from a 'models' module that either doesn't exist, or isn't where your im