Changes between Initial Version and Version 1 of Ticket #13715
- Timestamp:
- Jun 7, 2010, 5:46:12 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13715 – Description
initial v1 1 1 When you start the shell (python manage.py shell) and paste the following code (pasted from http://docs.djangoproject.com/en/dev/ref/contrib/gis/model-api/): 2 2 {{{ 3 3 from django.contrib.gis.db import models 4 4 … … 7 7 poly = models.PolygonField() 8 8 objects = models.GeoManager() 9 9 }}} 10 10 then you receive the following error 'list index out of range' 11 11 12 line 49: kwargs = {"app_label": model_module.__name__.split('.')[-2]}12 line 49:{{{ kwargs = {"app_label": model_module.__name__.split('.')[-2]} }}} 13 13 14 14 15 the model_module refers to: <module '__main__' from '/Library/Python/2.5/site-packages/IPython/FakeModule.pyc'>15 the model_module refers to: {{{ <module '__main__' from '/Library/Python/2.5/site-packages/IPython/FakeModule.pyc'> }}} 16 16 17 17 This happens with Postgresql 8.4, postgis 1.5.1, OSX 10.5, python 2.5.2