summaryrefslogtreecommitdiff
path: root/tests/project_template
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-16/+19
|
* Fixed #31840 -- Added support for Cross-Origin Opener Policy header.bankc2021-03-301-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 Johnson2020-02-051-0/+1
|
* Fixed #30426 -- Changed X_FRAME_OPTIONS setting default to DENY.Claude Paroz2019-09-091-1/+1
|
* Refs #30426 -- Changed default SECURE_CONTENT_TYPE_NOSNIFF to True.Claude Paroz2019-08-181-0/+1
|
* Removed default empty content argument from HttpResponse calls.Jon Dufresne2019-02-091-1/+1
|
* Updated test URL patterns to use path() and re_path().Tim Graham2018-12-311-2/+2
|
* Switched TestCase to SimpleTestCase where possible in Django's tests.Tim Graham2018-11-271-2/+2
|
* Fixed #26755 -- Fixed test_middleware_classes_headers if Django source isn't ↵Chris Lamb2017-05-311-6/+9
| | | | writable.
* Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham2017-01-201-2/+1
| | | These functions do nothing on Python 3.
* Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz2017-01-181-7/+0
| | | | Thanks Tim Graham for the review.
* Fixed #5897 -- Added the Content-Length response header in CommonMiddlewareClaude Paroz2016-06-271-0/+1
| | | | Thanks Tim Graham for the review.
* Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner2016-05-171-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 Graham2016-04-081-2/+4
|
* Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix.Chris Lamb2016-01-251-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 Graham2015-06-181-3/+3
|
* Added a test to verify headers set by default middleware; refs #23939.Tim Graham2014-12-034-0/+41