I am trying to enable testing on a brand new Django app. It has to run geometry tests. My Postgres installation in Postgres.app (with Postgis 2), my default database runs just f
Asking the question is answering it ...
I looked into the Django source, and saw it tests for the existence of template_postgis
. If found, it works for Postgis < 2.0. If not found, it works for Postgis >= 2.
And lo and behold, a relic template_postgis was present in my DB. I renamed it (just keeping it until I'm sure I don't need it for some other project), and the test worked fine.