Skip to content

UserWarning: Engine not recognized from url : sqlite3 #496

Open
@azataiot

Description

@azataiot

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

Metadata

Metadata

Assignees

Labels

awaiting-responseWaiting for additional info or clarification from the issue creator.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions