Hi, When I try and import my models after running python2.7, I am getting the following error:
I was wondering if I'm doing something wrong here? The models are getting imported properly in my views.py methods which get called on going to my site. asked 10 Dec '11, 15:21 iman453 |
If you're playing with Django directly from Python, and not from Django's own For example, if you have a Django project named "myproject", then run the following before launching Python:
For Apache to pick up that variable, you need to set it in
|