mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use html.escape()/unescape().
This commit is contained in:
committed by
Carlton Gibson
parent
28d5262fa3
commit
8d76443aba
@@ -387,7 +387,7 @@ With that ready, we can ask the client to do some work for us::
|
||||
>>> response.status_code
|
||||
200
|
||||
>>> response.content
|
||||
b'\n <ul>\n \n <li><a href="/polls/1/">What's up?</a></li>\n \n </ul>\n\n'
|
||||
b'\n <ul>\n \n <li><a href="/polls/1/">What's up?</a></li>\n \n </ul>\n\n'
|
||||
>>> response.context['latest_question_list']
|
||||
<QuerySet [<Question: What's up?>]>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user