Q:

Using Amazon RDS for GeoDjango?

I want to run my site on a EC2 instance, using RDS for the Postgres database. It supports PostGIS, but when I try to run the migrate command I get:
django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "mydb". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?

There isn't a postgis template database. The scripts I normally use to create the template produce tons of errors, most likely because I'm running postgres 9.1 and AWS uses 9.3. Before I try upgrading to 9.3 and pulling my hair out after that doesn't work smoothly because nothing ever does, is there something I'm missing here?
Has anyone gotten GeoDjango running on an RDS database?

A:

Sounds like you need to create the extension manually:
CREATE EXTENSION postgis;

