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

Handle search path config in connect url for postgres #59

Closed eisensheng closed 8 years ago

eisensheng commented 9 years ago

Hi,

PostgreSQL supports an additional layer underneath Databases called named Schema. This Pull Request adds support to specify which schema should be used by Django if specified and omits the OPTIONS key entirely otherwise. It works like the currentSchema option as documented here.

kennethreitz commented 8 years ago

:sparkles: :cake: :sparkles: