Saturday, May 18, 2013

Re: no module name error

Does the ecomstore directory (as well as the catalog dirction) also have an __init__.py file in it?  And is the ecomstore directory in the same directory as manage.py ?

Or is ecomstore the project name, rather than part of an app with extra levels?  (Still needs an __init__.py)   And if so, and if this is a recent Django where settings.py is in a subdirectory (named ecomstore) of the directory containing manage.py (probably also named ecomstore, since startproject creates it that way), which ecomstore contains the catalog directory (It needs to be where settings.py is, since you are qualifying it with the project name)?


On Sat, May 18, 2013 at 4:04 PM, Kakar Arunachal Service <kakararunachalservice@gmail.com> wrote:
Oh..m sorry. I mistyped, it was not django.ecomstore.catalog.models, but just, ecomstore.catalog.models import Category, Product. N in the catalog dir, it has __init__.py file, so should have done the problem. N m using sqlite3 so i dnt need adapters too. Pls help.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate