mirror of
https://github.com/jazzband/dj-database-url.git
synced 2026-03-16 22:20:24 +00:00
Update README.rst
This commit is contained in:
parent
e589ed03b5
commit
836740dd81
1 changed files with 7 additions and 0 deletions
|
|
@ -75,6 +75,13 @@ and is available in Django 1.6+. If you do not set a value, it will default to `
|
|||
which is Django's historical behavior of using a new database connection on each
|
||||
request. Use ``None`` for unlimited persistent connections.
|
||||
|
||||
Strings passed to `dj_database_url` must be valid URLs; in
|
||||
particular, special characters must be url-encoded. The following url will raise
|
||||
a `ValueError`::
|
||||
postgres://user:p#ssword!@localhost/foobar
|
||||
and should instead be passed as::
|
||||
postgres://user:p%23ssword!@localhost/foobar
|
||||
|
||||
URL schema
|
||||
----------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue