jazzband / dj-database-url

Use Database URLs in your Django Application.
https://pypi.org/project/dj-database-url/
BSD 3-Clause "New" or "Revised" License
1.49k stars 205 forks source link

slow speed with dj_database_url #57

Closed mvmthecreator closed 8 years ago

mvmthecreator commented 9 years ago

After i setup my django project and run dj_database_url with this config the speed of migrations and the development server run extrem slow.

#settings.py
DATABASES = {'default': dj_database_url.config()}

.env file
DATABASE_URL=postgres://user:passwd@localhost:5432/my_db

After i changed localhost with 127.0.0.1 everything works fine