1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[4.0.x] Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings.

Backport of 7ef0bc922c from main
This commit is contained in:
David Smith
2021-10-19 20:01:44 +01:00
committed by Mariusz Felisiak
parent ea66d1f2ae
commit 5d62beb61a
7 changed files with 9 additions and 11 deletions

View File

@@ -289,9 +289,7 @@ class AdminViewBasicTest(AdminViewBasicTestCase):
self.assertEqual(response.status_code, 302) # redirect somewhere
def test_popup_add_POST(self):
"""
Ensure http response from a popup is properly escaped.
"""
"""HTTP response from a popup is properly escaped."""
post_data = {
IS_POPUP_VAR: '1',
'title': 'title with a new\nline',