Skip to main content

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)

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.

Release history Release notifications | RSS feed

This release

1.0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page