#20968: Error creating Indexes on Syncdb -------------------------------------+------------------------------------- Reporter: burton449geo@… | Owner: nobody Type: Bug | Status: closed Component: GIS | Version: 1.5 Severity: Normal | Resolution: invalid Keywords: geodjango, | Triage Stage: spatialite, indexes | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by kenial): Using `spatialite db.sqlite3 "SELECT InitSpatialMetaData();"` is the answer, though, however, can we prevent Django users from meeting this error by adding workaround codes, which would be in syncdb command or database file creation code of django.contrib.gis.db.backends.spatialite? p.s: txomon, I'm one of them recently updated it and feel sorry. As you know, using spatialite is something... feels like rolling under the hood :( -- Ticket URL: <https://code.djangoproject.com/ticket/20968#comment:7> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/080.018912ec4cc1b5fd9e39b6f0ade35062%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.