askbot-devel icon indicating copy to clipboard operation
askbot-devel copied to clipboard

Requirements missing dj-database-url

Open mikhail opened this issue 5 years ago • 2 comments

When installing the requirements (automated via heroku in my scenario) the install fails with

ImportError: No module named dj_database_url

This can be resolved by adding:

'dj-database-url': 'dj-database-url>=0.3.0',

to askbot/__init__.py inside of the REQUIREMENTS = { block.

mikhail avatar Feb 28 '19 02:02 mikhail

I'd like to move to https://github.com/joke2k/django-environ in order to properly make container images that don't require users to look at the settings.py

sebastian-philipp avatar Jul 03 '19 09:07 sebastian-philipp

Currently, we install dj-database-url through askbot_requirements.txt and our Docker images rely on this library. I think we should add

'dj_database_url': 'dj-database-url',

to askbot/__init__.py inside of the REQUIREMENTS = { block. At least as a short term solution.

@evgenyfadeev What do you think?

martin-bts avatar Jul 09 '19 11:07 martin-bts