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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
19 matches
Mail list logo