Thursday, October 28, 2010

Using python shell for django project

If you want to test django code in python shell but are getting error messages regarding environment variables not set; set them by using that project's manage script.
python manage.py shell

No comments:

Post a Comment