Skip to content

Commit

Permalink
chore: updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andruten committed Oct 18, 2024
1 parent 3c8aed8 commit e16485c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
0.13.0 (Unreleased)
===================

* Added new `REVPROXY_QUOTE_SPACES_AS_PLUS` setting


0.12.0 (2023-10-19)
===================

Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Contents:
quickstart
proxyview
modules
settings
changelog


Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Start by adding revproxy to your ``settings.py`` file as follows:
INSTALLED_APPS = (
# ...
'django.contrib.auth',
'revproxy',
'revproxy.apps.RevProxyConfig',
# ...
)
Expand Down
4 changes: 4 additions & 0 deletions docs/settings.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Settings
==================

`REVPROXY_QUOTE_SPACES_AS_PLUS`: Tells revproxy if it spaces should be replaced by `+` or `%20`.
2 changes: 1 addition & 1 deletion revproxy/settings.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
REVPROXY_DEFAULT_SETTINGS = {
'QUOTE_SPACES_AS_PLUS': True,
'REVPROXY_QUOTE_SPACES_AS_PLUS': True,
}

0 comments on commit e16485c

Please sign in to comment.