Opened 11 years ago
Closed 11 years ago
#20759 closed Bug (duplicate)
Test DB Creation doesn't create PointField with db_index=True
Reported by: | Christoph Heer | Owned by: | nobody |
---|---|---|---|
Component: | GIS | Version: | 1.5 |
Severity: | Normal | Keywords: | GeoDjango, Index, Test |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Note:
See TracTickets
for help on using tickets.
Same issue as #20758