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

UserWarning: Engine not recognized from url : sqlite3 #496

Open
azataiot opened this issue Sep 6, 2023 · 3 comments
Open

UserWarning: Engine not recognized from url : sqlite3 #496

azataiot opened this issue Sep 6, 2023 · 3 comments
Assignees
Labels
awaiting-response Waiting for additional info or clarification from the issue creator.

Comments

@azataiot
Copy link

azataiot commented Sep 6, 2023

When I run my project, I'm seeing this warning:

UserWarning: Engine not recognized from url: {'NAME': 'sqlite:///db.sqlite3" ', 'USER': '', 'PASSWORD': '', 'HOST': '', 'PORT': '', 'ENGINE': ''}
  warnings.warn(f'Engine not recognized from url: {config}')

my settings seems valid, also it shows that the engine is correctly picked up as 'django.db.backens.sqlite3'

2023-09-06-at-12 49 30

I have a .env file with this content in the project root:

LOG_LEVEL="info"
DATABASE_URL="sqlite:///db.sqlite3" #postgres://postgres:postgres@localhost:5432/django
@azataiot
Copy link
Author

azataiot commented Sep 6, 2023

also one interesting thing is this warning shows twice,

2023-09-06-at-12 51 48

@sergeyklay
Copy link
Collaborator

Hello @azataiot,

Thank you for reporting this issue. I've just tested your example with the latest version, and everything seems to be working fine on my end. Could you please try updating to the latest version and let me know if the issue persists?

@sergeyklay sergeyklay self-assigned this Sep 8, 2023
@azataiot
Copy link
Author

azataiot commented Sep 9, 2023

Hello @azataiot,

Thank you for reporting this issue. I've just tested your example with the latest version, and everything seems to be working fine on my end. Could you please try updating to the latest version and let me know if the issue persists?

Thanks, let me update the package and try again.

@sergeyklay sergeyklay added the awaiting-response Waiting for additional info or clarification from the issue creator. label Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-response Waiting for additional info or clarification from the issue creator.
Projects
None yet
Development

No branches or pull requests

2 participants