horizon/horizon/utils
Akihiro Motoki 7052b7f065 Address RemovedInDjango40Warning (7)
HttpRequest.is_ajax() was marked as deprecated since Django 3.1 and will be
removed in Django 4.0 [1].

While the current implementation of is_ajax() relies on a jQuery-specific way
of signifying AJAX as noted in the Django relnotes, horizon works with this.
Thus this commit copies the existing logic of HttpRequest.is_ajax() to the
horizon repo (as horizon.utils.http.is_ajax()) and consumes it.

https: //docs.djangoproject.com/en/4.0/releases/3.1/#features-deprecated-in-3-1
Change-Id: I3def53033524985818a891a1b9d4659fad4ba2ba
2022-02-04 16:27:32 +09:00
..
__init__.py Unifies the project packaging into one set of modules. 2012-02-29 00:20:13 -08:00
babel_extract_angular.py Drop the usage of unicode prefix from unicode strings 2021-02-12 13:05:27 -06:00
csvbase.py Use python3-style super() 2020-10-15 14:37:20 +09:00
escape.py Escape angularjs templating in unsafe HTML 2016-06-15 11:03:01 -04:00
file_discovery.py Fix W503 warnings 2018-04-11 18:13:47 +09:00
filters.py Address RemovedInDjango40Warning (2) 2022-02-04 16:22:07 +09:00
functions.py Address RemovedInDjango40Warning (1) 2022-01-31 22:42:41 +09:00
html.py Fix H405 (multi line docstring) warnings (horizon) 2017-06-09 16:04:57 +00:00
http.py Address RemovedInDjango40Warning (7) 2022-02-04 16:27:32 +09:00
lazy_encoder.py Address RemovedInDjango40Warning (1) 2022-01-31 22:42:41 +09:00
memoized.py Define default settings explicitly (horizon) 2019-09-12 15:05:56 +09:00
scss_filter.py Use python3-style super() 2020-10-15 14:37:20 +09:00
secret_key.py pylint: fix unnecessary-pass warning 2019-01-16 13:10:16 +09:00
settings.py Remove six usage from horizon package 2020-01-15 12:36:11 +02:00
validators.py Address RemovedInDjango40Warning (2) 2022-02-04 16:22:07 +09:00