Upgraded SpatiaLite default initialization SQL file name for 2.3 release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4a4d3e2133
commit
d7870d3444
|
@ -6,7 +6,7 @@ from django.db import connection
|
||||||
def spatialite_init_file():
|
def spatialite_init_file():
|
||||||
# SPATIALITE_SQL may be placed in settings to tell
|
# SPATIALITE_SQL may be placed in settings to tell
|
||||||
# GeoDjango to use a specific user-supplied file.
|
# GeoDjango to use a specific user-supplied file.
|
||||||
return getattr(settings, 'SPATIALITE_SQL', 'init_spatialite-2.2.sql')
|
return getattr(settings, 'SPATIALITE_SQL', 'init_spatialite-2.3.sql')
|
||||||
|
|
||||||
def create_test_spatial_db(verbosity=1, autoclobber=False, interactive=False):
|
def create_test_spatial_db(verbosity=1, autoclobber=False, interactive=False):
|
||||||
"Creates a spatial database based on the settings."
|
"Creates a spatial database based on the settings."
|
||||||
|
|
Loading…
Reference in New Issue