Guest User

Untitled

a guest
May 25th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <html>
  2.  
  3. {% include "header.html" %}
  4.  
  5. <div id = 'content'>
  6. blah
  7. </div>
  8.  
  9. {% include "footer.html" %}
  10. </html>
  11.  
  12. class ContextFactory(object):
  13. def __init__(self, **pervasive):
  14. self.pervasive = pervasive
  15. def makeContext(self, current):
  16. return dict(self.pervasive, **current)
  17. def registerPervasive(self, name, value):
  18. self.pervasive[name] = value
Add Comment
Please, Sign In to add comment