Re: trying to do console testing of my models, "no module named X"

2010-06-24 Thread euan.godd...@googlemail.com
If you do: python manage.py shell you will get a python shell with all the necessary paths set up so that you can do your testing. You may also want to consider some sort of automated testing as it makes this sort of thing a lot easier and quicker. Euan On 24 June, 05:04, robinne wrote: > I ha

trying to do console testing of my models, "no module named X"

2010-06-23 Thread robinne
I have a django project running on local linux machine with apache. I run this at localhost:8081 and I use import statements to import my models in my views (e.g. "from DjangoSite.ManageProducts.models import Member"). For testing, I want to be able to import my models into python console and run