A bug in Django 1.3’s PostGIS adapter makes it unusable when standard_conforming_string is enabled, which is the default for PostgreSQL 9.1.
A patch is available, but those not inclined to run a patched version of Django can use this package instead. Just install it and then update your database settings:
DATABASES = {
'default': {
'ENGINE': 'scspostgis',
...
}
}
If you’re using South, you’ll also need the following setting:
SOUTH_DATABASE_ADAPTERS = {
'default': 'south.db.postgresql_psycopg2',
}
If you upgrade to Django 1.4, you should uninstall scspostgis and use the standard ‘django.contrib.gis.db.backends.postgis’ engine.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-scspostgis-1.0.tar.gz
(2.0 kB
view details)
File details
Details for the file django-scspostgis-1.0.tar.gz.
File metadata
- Download URL: django-scspostgis-1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a834343e0e1a59cf2eccb789ffcdcb085bc3dc1140655ad99be77d91b9f85c7
|
|
| MD5 |
ee4ca70c7837ea08ba1945f854e74878
|
|
| BLAKE2b-256 |
fef1bb8b5b6cd5f01361ff487cbcd8e671f53eadeaf553cb81cf2ff1055ce7a4
|