Split on the secret delimiter and generate the token list by passing through text outside of phased blocks as single text tokens and tokenizing text inside the phased blocks. This ensures that nothing outside of the phased blocks is tokenized, thus eliminating the possibility of a template code injection vulnerability.
Remove an item from the “Vary” header of an HttpResponse object. If no items remain, delete the “Vary” header. This does the opposite effect of django.utils.cache.patch_vary_headers.
Creates a dictionary from a Context instance by traversing its dicts list. Can remove unwanted subjects from the result, e.g. lazy objects.
Unpickle the context from the given content string or return None.
Pickle the given Context instance and do a few optimzations before.