Fix #195: django template tries registry['keys'], in another place.