When trying to use the Heroku deploy button, it fails at the end of the 'build app', with the following error message included at the end of the build log:
File "/app/.heroku/python/lib/python3.6/site-packages/provider/oauth2/init.py", line 1, in
import backends
ModuleNotFoundError: No module named 'backends'
! Error while running '$ python src/manage.py collectstatic --noinput'.
See traceback above for details.
You may need to update application code to resolve this error.
Or, you can disable collectstatic for this application:
$ heroku config:set DISABLE_COLLECTSTATIC=1
https://devcenter.heroku.com/articles/django-assets
! Push rejected, failed to compile Python app.
! Push failed
When trying to use the Heroku deploy button, it fails at the end of the 'build app', with the following error message included at the end of the build log:
File "/app/.heroku/python/lib/python3.6/site-packages/provider/oauth2/init.py", line 1, in
import backends
ModuleNotFoundError: No module named 'backends'
! Error while running '$ python src/manage.py collectstatic --noinput'.
See traceback above for details.
You may need to update application code to resolve this error.
Or, you can disable collectstatic for this application:
$ heroku config:set DISABLE_COLLECTSTATIC=1
https://devcenter.heroku.com/articles/django-assets
! Push rejected, failed to compile Python app.
! Push failed