Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Build Geos and Collectstatic

was originally using these buildpacks:

got this error when i pushed: Collectstatic configuration error. To debug, run .....

when i ran: heroku run .... collectstatic everything was fine!!!

so i had to patch the python buildpack:

then i got when i pushed: -----> Preparing static assets Traceback (most recent call last): .... django.core.exceptions.ImproperlyConfigured: Could not import user-defined GEOMETRY_BACKEND "geos".

so i found a newer fork of heroku-geo-buildpack which had two newer commit to fix everything:


To this stack overflow post Heroku/Django: Could not import user-defined GEOMETRY_BACKEND “geos”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.