fnp
/
django-ssify.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
v. 0.2.5
[django-ssify.git]
/
ssify
/
decorators.py
diff --git
a/ssify/decorators.py
b/ssify/decorators.py
index
b513dbe
..
e2ae9fe
100644
(file)
--- a/
ssify/decorators.py
+++ b/
ssify/decorators.py
@@
-56,7
+56,7
@@
def ssi_included(view=None, use_lang=True,
request._cache_update_cache = False
def _check_included_vars(response):
request._cache_update_cache = False
def _check_included_vars(response):
- used_vars =
request.ssi_vars_needed
+ used_vars =
getattr(request, 'ssi_vars_needed', {})
if get_ssi_vars:
# Remove the ssi vars that should be provided
# by the including view.
if get_ssi_vars:
# Remove the ssi vars that should be provided
# by the including view.