Skip to main content

A PostGIS db backend that works with standard_conforming_strings.

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

1.0

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)

Uploaded Source

File details

Details for the file django-scspostgis-1.0.tar.gz.

File metadata

File hashes

Hashes for django-scspostgis-1.0.tar.gz
Algorithm Hash digest
SHA256 0a834343e0e1a59cf2eccb789ffcdcb085bc3dc1140655ad99be77d91b9f85c7
MD5 ee4ca70c7837ea08ba1945f854e74878
BLAKE2b-256 fef1bb8b5b6cd5f01361ff487cbcd8e671f53eadeaf553cb81cf2ff1055ce7a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page