title: Postgis / Geodjango: Cannot determine PostGIS version for database
body: <p>I'm attempting to launch a GeoDjango app. I've installed Postgres &amp; PostGIS using brew on Lion. I created a database using template_postgis: <code>createdb -T template_postgis test</code>.</p>
  
  <p>When I run <code>python manage.py syncdb</code>, I get the following error:</p>
  
  <blockquote>
    <p>django.core.exceptions.ImproperlyConfigured: Cannot determine
    PostGIS version for database "test". GeoDjango requires at least
    PostGIS version 1.3. Was the database created from a spatial database
    template?</p>
  </blockquote>
  
  <p>How can I track down the source of the error? I've checked that the user &amp; pass in the config have access to the database etc. </p>