Re: class in models.py 'not defined' exception

2008-04-29 Thread skunkwerk
thanks! that was exactly the problem. after i removed the django-created tables from models.py, it started working again. On Apr 28, 10:57 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Tue, Apr 29, 2008 at 1:31 AM, skunkwerk <[EMAIL PROTECTED]> wrote: > > > thanks karen, > >   i think my

Re: class in models.py 'not defined' exception

2008-04-28 Thread g m
THANKYOU On 4/29/08, skunkwerk <[EMAIL PROTECTED]> wrote: > > > I've been struggling with this error for the past hour. > > Error while importing URLconf 'winebago.urls': name 'AuthPermission' > is not defined > Exception Location: /usr/lib/python2.5/site-packages/django/core/ > urlresolvers.py in

Re: class in models.py 'not defined' exception

2008-04-28 Thread Karen Tracey
On Tue, Apr 29, 2008 at 1:31 AM, skunkwerk <[EMAIL PROTECTED]> wrote: > > thanks karen, > i think my views.py file is the source of the error, as it tries to > import from winebago.models like so: > > from winebago.models import Models > > (Models is defined after AuthPermission in models.py, a

Re: class in models.py 'not defined' exception

2008-04-28 Thread skunkwerk
thanks karen, i think my views.py file is the source of the error, as it tries to import from winebago.models like so: from winebago.models import Models (Models is defined after AuthPermission in models.py, and there are 3 other tables defined before AuthPermission in models.py - none of whi

Re: class in models.py 'not defined' exception

2008-04-28 Thread Karen Tracey
On Mon, Apr 28, 2008 at 11:54 PM, skunkwerk <[EMAIL PROTECTED]> wrote: > > I've been struggling with this error for the past hour. > > Error while importing URLconf 'winebago.urls': name 'AuthPermission' > is not defined > Exception Location: /usr/lib/python2.5/site-packages/django/core/ > urlreso

class in models.py 'not defined' exception

2008-04-28 Thread skunkwerk
I've been struggling with this error for the past hour. Error while importing URLconf 'winebago.urls': name 'AuthPermission' is not defined Exception Location: /usr/lib/python2.5/site-packages/django/core/ urlresolvers.py in _get_urlconf_module, line 255 my models.py was generated by: ./manage.p