summaryrefslogtreecommitdiff
path: root/django/db/models/sql/compiler.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2022-04-16 18:35:30 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-04-19 06:25:38 +0200
commit903702dfb1461cbb4ab93f841651e6882a72d337 (patch)
tree56800f1f601494e25e3f124d7e05c855033b7752 /django/db/models/sql/compiler.py
parent5591a72571b8a07c5e3d87dcfe08310bb7611d15 (diff)
downloaddjango-903702dfb1461cbb4ab93f841651e6882a72d337.tar.gz
Removed unnecessary default argument from GET.get() call in LoginView.get_redirect_url().
The default argument is unnecessary because url_has_allowed_host_and_scheme() returns False when its first argument is "" or None, so get_redirect_url() still returns "". This also aligns LoginView.get_redirect_url() and LogoutView.get_next_page().
Diffstat (limited to 'django/db/models/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions