[Django]-Error Saving geodjango PointField


Finally managed to figure it out.

The difference, as documented in this ticket, is that Postgres 9.1 has standard_conforming_strings on by default. Which wouldn’t be a problem, really, except Django’s adapter has a bug that basically ignores it. A patch was submitted and it’s working for me.

For those unwilling or unable to apply the patch or upgrade, you can just use this database adapter instead.

Leave a comment