Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a custom DB engine with DatabaseURL #335

Closed
michaeltinsley opened this issue Jun 19, 2022 · 3 comments
Closed

Using a custom DB engine with DatabaseURL #335

michaeltinsley opened this issue Jun 19, 2022 · 3 comments

Comments

@michaeltinsley
Copy link

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?

@lino
Copy link

lino commented Jul 18, 2022

Hi,

I have submitted a PR regarding this and I will continue the work in this project as well.

jazzband/dj-database-url#174

In other words: The timescale upstream change is coming and as soon as that's done, we'll support it here as well.

@michaeltinsley
Copy link
Author

@lino - Awesome, thank you 👍

@lino
Copy link

lino commented Aug 6, 2022

And the Pull request was just merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants