Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 2 | -16/+19 |
| | |||||
* | Fixed #31840 -- Added support for Cross-Origin Opener Policy header. | bankc | 2021-03-30 | 1 | -0/+1 |
| | | | | | | Thanks Adam Johnson and Tim Graham for the reviews. Co-authored-by: Tim Graham <timograham@gmail.com> | ||||
* | Fixed #31232 -- Changed default SECURE_REFERRER_POLICY to 'same-origin'. | Adam Johnson | 2020-02-05 | 1 | -0/+1 |
| | |||||
* | Fixed #30426 -- Changed X_FRAME_OPTIONS setting default to DENY. | Claude Paroz | 2019-09-09 | 1 | -1/+1 |
| | |||||
* | Refs #30426 -- Changed default SECURE_CONTENT_TYPE_NOSNIFF to True. | Claude Paroz | 2019-08-18 | 1 | -0/+1 |
| | |||||
* | Removed default empty content argument from HttpResponse calls. | Jon Dufresne | 2019-02-09 | 1 | -1/+1 |
| | |||||
* | Updated test URL patterns to use path() and re_path(). | Tim Graham | 2018-12-31 | 1 | -2/+2 |
| | |||||
* | Switched TestCase to SimpleTestCase where possible in Django's tests. | Tim Graham | 2018-11-27 | 1 | -2/+2 |
| | |||||
* | Fixed #26755 -- Fixed test_middleware_classes_headers if Django source isn't ↵ | Chris Lamb | 2017-05-31 | 1 | -6/+9 |
| | | | | writable. | ||||
* | Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. | Tim Graham | 2017-01-20 | 1 | -2/+1 |
| | | | These functions do nothing on Python 3. | ||||
* | Refs #23919 -- Removed six.PY2/PY3 usage | Claude Paroz | 2017-01-18 | 1 | -7/+0 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Fixed #5897 -- Added the Content-Length response header in CommonMiddleware | Claude Paroz | 2016-06-27 | 1 | -0/+1 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Fixed #26601 -- Improved middleware per DEP 0005. | Florian Apolloner | 2016-05-17 | 1 | -6/+6 |
| | | | | | Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP. | ||||
* | Fixed E128 flake8 warnings in tests/. | Tim Graham | 2016-04-08 | 1 | -2/+4 |
| | |||||
* | Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix. | Chris Lamb | 2016-01-25 | 1 | -0/+15 |
| | | | | | | | | | | | Debian packages unconditionally byte-compile .py files on installation and do not silence errors by design. Therefore, we need a way of shipping these invalid .py files without a .py extension but ensuring that when we template them, they end up as .py. We don't special-case .py files so that the all the TemplateCommand command-line options (eg. extra_files and extensions) still work entirely as expected and it may even be useful for other formats too. | ||||
* | Removed support for Python 3.3. | Tim Graham | 2015-06-18 | 1 | -3/+3 |
| | |||||
* | Added a test to verify headers set by default middleware; refs #23939. | Tim Graham | 2014-12-03 | 4 | -0/+41 |