Re: Meaning for this error

2011-01-13 Thread Justin Murphy
Are you using the Django python shell? That error means that your environment doesn't point to a settings file, which is handled by the Django shell. Execute this command within your project directory (wherever you have the manage.py file): python manage.py shell It will open a Python interpre

Meaning for this error

2011-01-12 Thread NavaTux
Hi all, I wan to import a method in a model class to another class as well as that method contains some objects includes self How to import that method's operation? it shows the error >>> from users.models import userprofile Traceback (most recent call last): File "", line 1,