-
Notifications
You must be signed in to change notification settings - Fork 513
Closed
Labels
Description
I have the following .env file:
DATABASE_URL='postgres://localhost:5432/myapp_development'
When I run dotenv get DATABASE_URL this is what I get:
DATABASE_URL="'postgres://localhost:5432/simulator_development'"
When I try to use this with dj-database-url it is failing to parse the DATABASE_URL environment variable as it is.
It seems using single quotes in the .env file is causing this.
It would be nice if this were documented somewhere if the behavior is intended
I spent quite a bit of time trying to figure out where the error was.
Thanks 😃
Reactions are currently unavailable