﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
24600	Accessing deleted keys in Context objects do not return empty strings (raises KeyError)	Ed Patrick Tan	nobody	"In the [https://docs.djangoproject.com/en/dev/ref/templates/api/#playing-with-context-objects template documentation on playing with context objects], it is showed that deleting the key `foo` then accessing it again returns an empty string.

What actually happens: a `KeyError` is raised:

{{{
>>> from django.template import Context
>>> c = Context({'foo': 'bar'})
>>> c['foo']
'bar'
>>> del c['foo']
>>> c['foo']
Traceback (most recent call last):
...
KeyError: 'foo'
}}}"	Bug	closed	Documentation	dev	Normal	fixed		pat.keeps.looking.up@…	Unreviewed	0	0	0	0	1	0
