Closed jdp closed 9 years ago
Could you try with the latest version of the buildpack?
Latest buildpack (1.2) doesn't give me that error - I can run the following without error:
from django.contrib.gis.geos import GEOSException, GEOSGeometry
However, I am getting:
AttributeError: 'DatabaseOperations' object has no attribute 'geo_db_type'
even though my DATABASES['default']['ENGINE']
is correctly set and PostGIS is installed (I can SELECT postgis_lib_version()
). It's probably not a buildback issue though.
Update: Working now. The third-party package (pupa
) that was running migrations seems to produce the error. Running manage.py migrate
directly doesn't produce the above error.
Hello, I am having same problem and I tried to use the latest buildpack by following instructions on the git page but no luck, getting ImportError: cannot import name 'GEOSException'
Any suggestions?
I'm seeing a crash on Heroku using Django 1.7.1. Here's the traceback:
Here are the contents of my .buildpacks:
And my requirements.txt: