Saturday, May 18, 2013

Re: no module name error

Can you run:

   python manage.py shell

?  If you already have an error, try again with the 'ecomstore.catalog', line commented out in settings.py

If shell runs without an error and gives you a python prompt, try the following, in sequence until you get an error:

  >>> import ecomstore
  >>> import ecomstore.catalog
  >>> import ecomstore.catalog.models
  >>> dir(import.ecomstore.models)

If you make it this far, are Product and Category in the list?
If you got an error, at what point?


On Sat, May 18, 2013 at 7:10 PM, Kakar Arunachal Service <kakararunachalservice@gmail.com> wrote:
The directory is as follows:
ecomstore
--manage.py
--ecomstore
  __init__.py
     settings.py
     urls.py
     wsgi.py
--preview
 __init__.py
 models.py
 views.py
 test.py
--templates
 --tags
   navigation.html
 base.html
 catalog.html
 index.html
--static
 css.css
--catalog
 __init__.py
 admin.py
 forms.py
 models.py
 tests.py
 views.py

--
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