Update README.rst

This commit is contained in:
Matt Seymour 2022-05-25 22:23:35 +01:00 committed by GitHub
parent e589ed03b5
commit 836740dd81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
----------