This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Overview

khufu_siteview is an addon for Pyramid hows the registration of a view that can be used to serve all .jinja2 files out of a directory as subviews without the need to map them directly.

Usage

Standard setup is to Configurator.include the khufu_siteview package and then add new views as necessary.

Example:

from pyramid.config import Configurator

def app(global_conf, **settings):
    config = Configurator(settings=settings)
    config.include('khufu_siteview')
    config.add_templateview_route('/some/path/to/site', '/')
    return config.make_wsgi_app()

The previous example mounts the view at the root of the new Pyramid application. The following example url’s would work:

http://127.0.0.1:8080/favicon.ico   ->  /some/path/to/site/favicon.ico
http://127.0.0.1:8080/somepage.jinja2   ->  /some/path/to/site/somepage.jinja2

Static assets such as gif’s and ico’s will be looked up as if the view was static.

Credits

Created and maintained by Rocky Burt <rocky AT serverzen DOT com>.

Changes

0.9.1 - Apr 26, 2011

  • fixed bug where standard global renderer vars were being removed

0.9 - Apr 18, 2011

  • first release
Release History

Release History

0.9.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
khufu_siteview-0.9.1.tar.gz (4.8 kB) Copy SHA256 Checksum SHA256 Source Apr 26, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting