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

Clarifies requirement for url encoding #126

Closed remeika closed 2 years ago

remeika commented 4 years ago

Fixes #108 by adding adding a more explicit exception message when a invalid URL is provided. Also, adds documentation tests to make explicit that special characters must be url-encoded.

Qu4tro commented 4 years ago

Can I request for the None value case, be taken care of here as well?

ATM, trying to .parse(None) results in TypeError: a bytes-like object is required, not 'str'. IMO, we should raise a more explicit exception.

mattseymour commented 2 years ago

Closing as relevant comments have been added to commit 836740d836740d

mattseymour commented 2 years ago

Closing as relevant comments have been added to commit 836740d836740d