Re: ImportError: No module named site

2011-06-30 Thread Andy Dustman
On Thu, Jun 30, 2011 at 4:54 AM, bruno desthuilliers wrote: > On Jun 29, 7:32 pm, Kyle Latham wrote: > (snip) >> I have no idea what is going wrong, but here is all my code thus far >> (I'm following the tutorial to create my own app that will display >> various material measurements) >> >> -

Re: ImportError: No module named site

2011-06-30 Thread bruno desthuilliers
On Jun 29, 7:32 pm, Kyle Latham wrote: (snip) > I have no idea what is going wrong, but here is all my code thus far > (I'm following the tutorial to create my own app that will display > various material measurements) > > --- > models.py > -

Re: ImportError: No module named site

2011-06-29 Thread Andre Terra
As you can see from your urls.py, there is a reference to admin.site and that is probably what's not working on your setup. Try this: $ ./manage.py shell >>> import django >>> django.get_version() >>> from django.contrib import admin >>> admin.site ..and see how far you can go before the first ex

ImportError: No module named site

2011-06-29 Thread Kyle Latham
I searched this group for that error, and browsed through several pages and dozens of posts...but none of them helped me solve my error. Yesterday I had my server up and running, and I left it running overnight. I do not remember changing anything in any of my .py files, but when I shut down my se