[Django] #20759: Test DB Creation doesn't create PointField with db_index=True

9 views
Skip to first unread message

Django

unread,
Jul 18, 2013, 4:52:50 AM7/18/13
to django-...@googlegroups.com
#20759: Test DB Creation doesn't create PointField with db_index=True
----------------------------+------------------------------------
Reporter: jarus | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 1.5
Severity: Normal | Keywords: GeoDjango, Index, Test
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+------------------------------------
I want to test my GeoDjango project but by creation of the test database I
got following error:


{{{
Creating test database for alias 'default'...
Failed to install index for map.OSMPlace model: column "point" does not
exist
}}}

It is correct the Table map_osmplace exists without a point column.

{{{
from django.contrib.gis.db import models
point = models.PointField(db_index=True)
}}}

Another table without an index on the point field contains the point
column.

--
Ticket URL: <https://code.djangoproject.com/ticket/20759>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 20, 2013, 4:03:17 PM7/20/13
to django-...@googlegroups.com
#20759: Test DB Creation doesn't create PointField with db_index=True
-------------------------------------+-------------------------------------
Reporter: jarus | Owner: nobody
Type: Bug | Status: closed
Component: GIS | Version: 1.5
Severity: Normal | Resolution: duplicate
Keywords: GeoDjango, Index, | Triage Stage:
Test | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by claudep):

* status: new => closed
* needs_docs: => 0
* resolution: => duplicate
* needs_tests: => 0
* needs_better_patch: => 0


Comment:

Same issue as #20758

--
Ticket URL: <https://code.djangoproject.com/ticket/20759#comment:1>

Reply all
Reply to author
Forward
0 new messages