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 test queries. I don't know how python knows where my models
are...when I run import statement in python console, it comes back
with error "no module named DjangoSite.ManageProducts.models".
How do I references my own modules using console? Do I need to add my
project to python path?
Thanks
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment