mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Fixed #24600 -- Fixed inaccurate example in template Context docs.
Thanks pattypatpat for the report.
This commit is contained in:
parent
2fc19b9238
commit
3acefcefeb
@ -410,7 +410,9 @@ dictionary syntax::
|
||||
'bar'
|
||||
>>> del c['foo']
|
||||
>>> c['foo']
|
||||
''
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
KeyError: 'foo'
|
||||
>>> c['newvariable'] = 'hello'
|
||||
>>> c['newvariable']
|
||||
'hello'
|
||||
|
Loading…
Reference in New Issue
Block a user