Author: jbronn
Date: 2009-04-11 17:31:28 -0500 (Sat, 11 Apr 2009)
New Revision: 10527

Modified:
   django/trunk/django/contrib/gis/db/backend/spatialite/creation.py
Log:
Upgraded SpatiaLite default initialization SQL file name for 2.3 release.


Modified: django/trunk/django/contrib/gis/db/backend/spatialite/creation.py
===================================================================
--- django/trunk/django/contrib/gis/db/backend/spatialite/creation.py   
2009-04-11 15:25:15 UTC (rev 10526)
+++ django/trunk/django/contrib/gis/db/backend/spatialite/creation.py   
2009-04-11 22:31:28 UTC (rev 10527)
@@ -6,7 +6,7 @@
 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."


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to