mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed geodjango postgis/creation.py to use postgresql_psycopg2 instead of legacy postgresql module that was removed recently
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4d3ab063b1
commit
71bf169ab1
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
from django.conf import settings
|
||||
from django.db.backends.postgresql.creation import DatabaseCreation
|
||||
from django.db.backends.postgresql_psycopg2.creation import DatabaseCreation
|
||||
|
||||
class PostGISCreation(DatabaseCreation):
|
||||
geom_index_type = 'GIST'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue