From d7870d3444eed9525863b95549be479bdca1bc89 Mon Sep 17 00:00:00 2001 From: Justin Bronn Date: Sat, 11 Apr 2009 22:31:28 +0000 Subject: [PATCH] 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 --- django/contrib/gis/db/backend/spatialite/creation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/gis/db/backend/spatialite/creation.py b/django/contrib/gis/db/backend/spatialite/creation.py index bb5507fb40..cc668eca6a 100644 --- a/django/contrib/gis/db/backend/spatialite/creation.py +++ b/django/contrib/gis/db/backend/spatialite/creation.py @@ -6,7 +6,7 @@ from django.db import connection def spatialite_init_file(): # SPATIALITE_SQL may be placed in settings to tell # 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): "Creates a spatial database based on the settings."