skip to navigation
skip to content

Not Logged In

django-scspostgis 1.0

A PostGIS db backend that works with standard_conforming_strings.

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.

 
File Type Py Version Uploaded on Size
django-scspostgis-1.0.tar.gz (md5) Source 2014-03-19 1KB
  • Downloads (All Versions):
  • 3 downloads in the last day
  • 24 downloads in the last week
  • 82 downloads in the last month