Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- {% include "header.html" %}
- <div id = 'content'>
- blah
- </div>
- {% include "footer.html" %}
- </html>
- class ContextFactory(object):
- def __init__(self, **pervasive):
- self.pervasive = pervasive
- def makeContext(self, current):
- return dict(self.pervasive, **current)
- def registerPervasive(self, name, value):
- self.pervasive[name] = value
Add Comment
Please, Sign In to add comment