django-configurations
django-configurations copied to clipboard
Using a custom DB engine with DatabaseURL
Is there anyway to specify the DB engine to use when using DatabaseURL?
The use case I have is a non-standard DB engine, namely django-timescaledb.
But, using DatabaseURL with this will default to the "django.db.backends.postgresql" engine, however, it looks like dj-database-url allows this to be overridden with the engine parameter. However this isn't surfaced within django-configurations from what I can tell?
Has anyone come across this use case before? Is there currently a good solution or am I missing something?
Hi,
I have submitted a PR regarding this and I will continue the work in this project as well.
https://github.com/jazzband/dj-database-url/pull/174
In other words: The timescale upstream change is coming and as soon as that's done, we'll support it here as well.
@lino - Awesome, thank you 👍
And the Pull request was just merged.