mirror of
https://github.com/django/django.git
synced 2025-03-13 02:40:47 +00:00
[1.6.x] Fixed #20772 -- Fixed minor typo in form media docs.
Backport of aa41eb9b8b from master
This commit is contained in:
parent
c660f0e985
commit
b7556a4980
@ -262,7 +262,7 @@ operator to filter out a medium of interest. For example::
|
|||||||
<script type="text/javascript" src="http://static.example.com/animations.js"></script>
|
<script type="text/javascript" src="http://static.example.com/animations.js"></script>
|
||||||
<script type="text/javascript" src="http://static.example.com/actions.js"></script>
|
<script type="text/javascript" src="http://static.example.com/actions.js"></script>
|
||||||
|
|
||||||
>>> print(w.media)['css']
|
>>> print(w.media['css'])
|
||||||
<link href="http://static.example.com/pretty.css" type="text/css" media="all" rel="stylesheet" />
|
<link href="http://static.example.com/pretty.css" type="text/css" media="all" rel="stylesheet" />
|
||||||
|
|
||||||
When you use the subscript operator, the value that is returned is a
|
When you use the subscript operator, the value that is returned is a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user