django1/django/contrib
Aymeric Augustin 903702dfb1 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().
2022-04-19 06:25:38 +02:00
..
admin Fixed #11803 -- Allowed admin select widgets to display new related objects. 2022-04-15 07:46:37 +02:00
admindocs Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
auth Removed unnecessary default argument from GET.get() call in LoginView.get_redirect_url(). 2022-04-19 06:25:38 +02:00
contenttypes Removed unnecessary _connector from Q construction in get_for_models(). 2022-03-15 16:13:28 +01:00
flatpages Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
gis Fixed #33637 -- Improved initial zoom level in MapWidget. 2022-04-14 11:50:31 +02:00
humanize Refs #32365 -- Removed internal uses of utils.timezone.utc alias. 2022-03-24 06:29:50 +01:00
messages Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
postgres Fixed #33607 -- Made PostgresIndex.create_sql() respect the "using" argument. 2022-04-15 22:00:28 +02:00
redirects Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
sessions Refs #32365 -- Removed internal uses of utils.timezone.utc alias. 2022-03-24 06:29:50 +01:00
sitemaps Refs #32365 -- Removed internal uses of utils.timezone.utc alias. 2022-03-24 06:29:50 +01:00
sites Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
staticfiles Refs #33446 -- Allowed variable whitespace in CSS source map references. 2022-03-04 06:22:28 +01:00
syndication Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
__init__.py