@freezer.register_generator
def page():
    for page in pages:
        (yield {'page_path': page.path})
@freezer.register_generator
def page():
    for page in pages:
        (yield {'page_path': page.path})