IndexError: list index out of range

Issue #10 invalid
created an issue

Not sure if this is a bug or not, but I can't use the examples or run some of the code from the models from inside ipython.

The system is a Ubuntu 10.04 KVM child with python 2.6 and Django 1.3.

Thanks for all the hard work! :)



In [48]: class RemotePageWithBooleanFields(Model): boolean_field = models.BooleanField() null_boolean_field = models.NullBooleanField() ....:

IndexError Traceback (most recent call last)

/var/www/testapps/<ipython console> in <module>()

/usr/local/lib/python2.6/dist-packages/django/db/models/base.pyc in new(cls, name, bases, attrs) 50 # For 'django.contrib.sites.models', this would be 'sites'.

 51             model_module = sys.modules[new_class.__module__]

---> 52 kwargs = {"app_label":'.')[-2]} 53 else: 54 kwargs = {}

IndexError: list index out of range


Comments (1)

  1. Log in to comment