fnp
/
django-ssify.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: CHANGELOG.md in MANIFEST.in
[django-ssify.git]
/
ssify
/
variables.py
diff --git
a/ssify/variables.py
b/ssify/variables.py
index
e969450
..
668bb51
100644
(file)
--- a/
ssify/variables.py
+++ b/
ssify/variables.py
@@
-119,11
+119,11
@@
def ssi_expect(var, type_):
class SsiVariableNode(template.Node):
""" Node for the SsiVariable tags. """
class SsiVariableNode(template.Node):
""" Node for the SsiVariable tags. """
- def __init__(self, tagpath, args, kwargs,
vary
=None, asvar=None):
+ def __init__(self, tagpath, args, kwargs,
patch_response
=None, asvar=None):
self.tagpath = tagpath
self.args = args
self.kwargs = kwargs
self.tagpath = tagpath
self.args = args
self.kwargs = kwargs
- self.
vary = vary
+ self.
patch_response = patch_response
self.asvar = asvar
def __repr__(self):
self.asvar = asvar
def __repr__(self):
@@
-138,8
+138,8
@@
class SsiVariableNode(template.Node):
request = context['request']
request.ssi_vars_needed[var.name] = var
request = context['request']
request.ssi_vars_needed[var.name] = var
- if self.
vary
:
- request.ssi_
vary.update(self.vary
)
+ if self.
patch_response
:
+ request.ssi_
patch_response.extend(self.patch_response
)
if self.asvar:
context.dicts[0][self.asvar] = var
if self.asvar:
context.dicts[0][self.asvar] = var