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

Added support for percent-encoded Postgres paths. #29

Closed dbrgn closed 10 years ago

dbrgn commented 10 years ago

This allows the user to specify unix domain sockets as host.

Example: postgresql://%2Fvar%2Flib%2Fpostgresql/dbname

Reference: http://www.postgresql.org/docs/9.2/interactive/libpq-connect.html#AEN38162

dbrgn commented 10 years ago

Any news on this? :)

kennethreitz commented 10 years ago

This looks like a great change. @dbrgn can you rebase so we can merge? :)

dbrgn commented 10 years ago

Done!

dbrgn commented 10 years ago

Could we merge this soon? This is a really useful feature.

kennethreitz commented 10 years ago

thanks :)

joneskoo commented 10 years ago

@kennethreitz Can you make a release with this to pypi, I'd like to start using this.