title: heroku postgis makemigrations error geodjango
body: <p>So I have multi build pack installed for my build pack for heroku</p>
  
  <pre><code>https://github.com/ddollar/heroku-buildpack-multi.git
  </code></pre>
  
  <p>and I have the .buildpacks file</p>
  
  <pre><code>https://github.com/cyberdelia/heroku-geo-buildpack.git#1.3
  https://github.com/heroku/heroku-buildpack-python
  </code></pre>
  
  <p>The installation works but when I run python manage.py makemigrations I get this error:</p>
  
  <pre><code>django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version 
  for database "d34ce1ddsg9nkp". GeoDjango requires at least PostGIS version 1.3. 
  Was the database created from a spatial database template?
  </code></pre>
  
  <p>I have tried multiple ways of setting the database in settings.py such as:</p>
  
  <pre><code>        GEOS_LIBRARY_PATH = environ.get('GEOS_LIBRARY_PATH')
          GDAL_LIBRARY_PATH = environ.get('GDAL_LIBRARY_PATH')
  and
          GEOS_LIBRARY_PATH = "{}/libgeos_c.so".format(environ.get('GEOS_LIBRARY_PATH'))
          GDAL_LIBRARY_PATH = "{}/libgdal.so".format(environ.get('GDAL_LIBRARY_PATH'))
  </code></pre>
  
  <p>What am I doing wrong?</p>