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.48k stars 205 forks source link

Fixes issue with unix file paths being turned to lower case #73

Closed kingbuzzman closed 7 years ago

kingbuzzman commented 7 years ago

The main issue I'm having is on my development box (a mac) i want to have the freedom to place the socket file anywhere i want, and out of laziness its usually inside ~/. This means its going to look like /Users/buzzi/Projects/... you get the point. When dj-database-url references urlparse.urlparse(..) it turns the hostname into lowercase and voila! it breaks my paths.

Please review and discuss.

kennethreitz commented 7 years ago

✨🍰✨

kingbuzzman commented 7 years ago

Cool, thanks!