On Tue, 2006-05-16 at 20:13 -0500, Chris Moffitt wrote: [...] > I created a brand new app from scratch (including a new MYSQL database) > copied just my models.py file over, typed the code and got the same result! > > I even tried the suggestion of clearing out all of the old .pyc files > and I still get the same error. This is weird. The admin interface > works just fine so I'm a little unclear what's going on here. Any other > thoughts?
Is your house built on an old burial ground? Because I'm willing to entertain the possibility your computer might be possessed. :-) More seriously, since you say things are working through the admin interface, but not at the prompt, I have to wonder if both the webserver environment and your command prompt are running the same Django code. How are you running the webserver? Via 'manage.py runserver' or some other way? And when you are trying this at the interactive prompt, are you running 'manage.py shell' or doing something else? If you are doing everything through the same manage.py process then I am completely stumped. I'll keep thinking, but I can't think of any other debugging hints to try. Check that the paths printed to the files in the traceback output point the directories where you think they should (if you have multiple copies of Django code lying around), maybe, but you've probably already done that. Anyway, let us know if you find something and I'll keep this turning over in the back of my mind. Good luck, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---