#20968: Error creating Indexes on Syncdb
-------------------------------------+-------------------------------------
     Reporter:  burton449geo@…       |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |                  Version:  master
    Component:  GIS                  |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:  geodjango,           |      Needs documentation:  0
  spatialite, indexes                |  Patch needs improvement:  0
    Has patch:  1                    |                    UI/UX:  0
  Needs tests:  0                    |
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by claudep):

 I recognize my patch has the drawback of adding a query for each database
 connection creation.
 What I don't like in your solution, it's the backend-specific "pollution"
 in the main gis code. If we miss a backend-specific hook during app
 initialization, then let's create that hook. But importing anything from
 `django.contrib.gis.db.backends.<backend>` inside `apps.py` is not an
 option.

--
Ticket URL: <https://code.djangoproject.com/ticket/20968#comment:11>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/080.3954aba2083b812f3a14e4a0c3887833%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to