1
0
mirror of https://github.com/django/django.git synced 2025-10-25 22:56:12 +00:00

Implemented some SpatiaLiteOperations as cached properties

Previously, some properties weren't set unless
confirm_spatial_components_versions() was explicitely called.
This commit is contained in:
Claude Paroz
2013-01-29 19:33:43 +01:00
parent ee26797cff
commit eb9430fc4b
2 changed files with 31 additions and 18 deletions

View File

@@ -30,7 +30,6 @@ class SpatiaLiteCreation(DatabaseCreation):
self.connection.close()
self.connection.settings_dict["NAME"] = test_database_name
self.connection.ops.confirm_spatial_components_versions()
# Need to load the SpatiaLite initialization SQL before running `syncdb`.
self.load_spatialite_sql()