No module name error

2010-05-06 Thread newbiedjango
hi all, i am a newbie in django and have been trying to get this django- registration app working with few extra fields. now i am getting his module error http://dpaste.com/191756/ please help fixing me this error.. Thanks -- You received this message because you are subscribed to the Google

No module name error

2010-05-06 Thread newbiedjango
hi all, i am a newbie in django and have been trying to get this django- registration app working with few extra fields. now i am getting his module error http://dpaste.com/191756/ please help fixing me this error.. Thanks -- You received this message because you are subscribed to the Google

no module name error

2013-05-18 Thread Kakar Arunachal Service
I'm practicing from a book Begining django e-commerce and m stuck in one place. My project name is ecomstore, and in it i have two app, one is preview and the other is catalog. In my preview app, there's just html in the templates dir, and thats not the problem, because the result was fine when i r

Re: No module name error

2010-05-06 Thread Bayuadji
Hi, I don't know which version of django-registration you use, but the source on views.py doesn't have any profiles.utils see :http://bitbucket.org/ubernostrum/django-registration/src/tip/registration/views.py -adji- On Fri, May 7, 2010 at 9:19 AM, newbiedjango wrote: > hi all, > i am a newbi

Re: No module name error

2010-05-06 Thread newbiedjango
my views.py is down here which is an extension of http://bitbucket.org/ubernostrum/django-registration/src/tip/registration/views.py I am a total newbie here and don't know much about this..kindly help... from django.shortcuts import redirect from django.shortcuts import render_to_response from dj

Re: No module name error

2010-05-06 Thread Bayuadji
see this line import profiles.utils in views.py on django registration doesn't have that line. so I think you or someone already customized the registration apps -adji- On Fri, May 7, 2010 at 9:57 AM, newbiedjango wrote: > my views.py is > down here which is an extension of > http://bitbucket.o

Re: No module name error

2010-05-06 Thread newbiedjango
yes that import statement was done by me but im not sure if that is the correct way to do it or not. On May 7, 12:01 pm, Bayuadji wrote: > see this line > import profiles.utils > > in views.py on django registration doesn't have that line. so I think > you or someone already customized the regist

Re: no module name error

2013-05-18 Thread Bill Freeman
Unless you actually created your stuff inside your installation of Django (or under some directory named site-packages or dist-packages), which is not recommended, it is unlikely that the place from which you import Category and Products will be named beginning with "django.". The book may be assu

Re: no module name error

2013-05-18 Thread Kakar Arunachal Service
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 be

Re: no module name error

2013-05-18 Thread Bill Freeman
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

Re: no module name error

2013-05-18 Thread Kakar Arunachal Service
ecomstore is the project name. And within it, it has another ecomstore, which has the __init__.py, settings.py, urls.py and wsgi.py. And yes catalog too has the __init__.py file in it, as it was created by the startapp command. The error says, import error: no module named catalog.models in admin.p

Re: no module name error

2013-05-18 Thread Kakar Arunachal Service
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

Re: no module name error

2013-05-18 Thread Bill Freeman
Yes, but of which directory is the catalog directory a sub-directory? The upper ecomstore (which contains manage.py) or the lower ecomstore (which contains settings.py)? Or is it somewhere else entirely? On Sat, May 18, 2013 at 6:59 PM, Kakar Arunachal Service < kakararunachalserv...@gmail.com

Re: no module name error

2013-05-18 Thread kakararunachalservice
Its in the upper directory, i.e. where the manage.py is. Sent from Samsung tablet Bill Freeman wrote: Yes, but of which directory is the catalog directory a sub-directory?  The upper ecomstore (which contains manage.py) or the lower ecomstore (which contains settings.py)?  Or is it somewhe

Re: no module name error

2013-05-18 Thread Bill Freeman
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 >>> imp

Re: no module name error

2013-05-18 Thread Bill Freeman
Ok. If catalog is in the upper directory, take the leading "ecomstore." off of the import statement. Also remove it from the entry in INSTALLED_APPS. Alternatively, move the catalog directory (will all of its contents), into the lower directory. If you are at a unix or mac os shell prompt the 'm

Re: no module name error

2013-05-18 Thread Kakar Arunachal Service
Ok i removed ecomstore from, from ecomstore.catalog.models import Product, Category to from catalog.models import Product, Category And i think it worked fine. But now again it gives an error: ImproperlyConfigured at/catalog - 'ProductAdmin.exclude' refers to field 'created_at' that is missing from

Re: no module name error

2013-05-18 Thread Kakar Arunachal Service
And by the way thanks for being patience with me! -- 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+unsubscr...@googlegroups.com. To post to this grou

Re: no module name error

2013-05-18 Thread Bill Freeman
Since I'm unfamiliar with the book, I don't know about the 'created_at' field, which must be specific to the book's app design. Try commenting out the reference to 'created_at' in admin.py and see if you get further. If so, then try to be sure that you are following the book in order, and that th