# Path: lib/registry.py
# class Registry(dict):
#     def set(self, key, value):
#         self[key] = value
#     def get(self, key):
#         if self.has_key(key):
#             return self[key]
#         else:
#             return False


import os
import genshi
from google.appengine.ext.webapp import template
from lib.registry import Registry
from genshi.template import TemplateLoader
from genshi import Markup




def render_template(template_name, template_vals={}):
    loader = TemplateLoader('theme/frontend')
    template = loader.load(template_name)
    template_vals['render']=render_template

# Path: lib/registry.py
# class Registry(dict):
#     def set(self, key, value):
#         self[key] = value
#     def get(self, key):
#         if self.has_key(key):
#             return self[key]
#         else:
#             return False


# Path: blocks.py
import os
import genshi
from google.appengine.ext.webapp import template
from lib.registry import Registry
from genshi.template import TemplateLoader
from genshi import Markup





def render_template(template_name, template_vals={}):
    loader = TemplateLoader('theme/frontend')
    template = loader.load(template_name)
    template_vals['render']=render_template

    template_vals['Registry']=Registry