13👍
✅
DATABASES
isn’t defined so instead of updating it try setting it instead. Change that line to:
DATABASES = { 'default': dj_database_url.config() }
Source:stackexchange.com