ython2.7/site-packages/django/db/model
> > s/base.py",
> > line 48, in __new__
> > kwargs = {"app_label": model_module.__name__.split('.')[-2]}
> > IndexError: list index out of range
>
> > What is going on in this error message?
>
> Th
s.Model):
> File
> "/tools/python/2.7/Linux_x86_64/lib/python2.7/site-packages/django/db/models/base.py",
> line 48, in __new__
> kwargs = {"app_label": model_module.__name__.split('.')[-2]}
> IndexError: list index out of range
> >>>
>
> What
[jhayw...@cmlnxbld01 invdb]$ python manage.py shell
Python 2.7 (r27:82500, Dec 2 2010, 14:06:29)
[GCC 4.2.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import models
Traceback (most recent call last):
File "", line 1, in
File
3 matches
Mail list logo