You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have setup Github actions to extract translation files. Since, there is no database defined in the actions(CI), the following command gives error - python src/manage.py makemessages -l en
Error - django.core.exceptions.ImproperlyConfigured: Could not locate the 'psqlextra.backend'. django-postgres-extra cannot function without the 'psqlextra.backend'. Set DATABASES.ENGINE.
It checks for database settings and do not find psqlextra.backend as DATABASE ENGINE name and throws this error.
Is there any way to skip the checking of database settings during the translation or pass the default database with psqlextra.backend as engine name.
The text was updated successfully, but these errors were encountered:
We are using
django-postgres-extra
and loading database settings through .env file and default database is sqllite3The database is passed using environment specific
.env
fileWe have setup Github actions to extract translation files. Since, there is no database defined in the actions(CI), the following command gives error -
python src/manage.py makemessages -l en
Error -
django.core.exceptions.ImproperlyConfigured: Could not locate the 'psqlextra.backend'. django-postgres-extra cannot function without the 'psqlextra.backend'. Set DATABASES.ENGINE.
It checks for database settings and do not find
psqlextra.backend
as DATABASE ENGINE name and throws this error.Is there any way to skip the checking of database settings during the translation or pass the default database with
psqlextra.backend
as engine name.The text was updated successfully, but these errors were encountered: