Skip to main content

basic views for pyramid view

Project description


rebecca.view is helper classes for pyramid views.

BasicView methods and properties


- ``context`` view context passed to constructor
- ``request`` request passed to constructor
- ``response`` response attribute of ``request``
- ``body`` body attribute of ``request``


- ``redirect(url)`` create HTTPFound object from url
- ``redirect_route(route_name, **values)`` create HTTPFound object with route_url
- ``action_dispatch`` call method named *_action with request param.


To use BasicView, inherit that simply.:

class Greeting(BasicView):
    def __call__(self):
        return self.redirect_route('top', v=1)


  • Atsushi Odagiri, Original Author


0.1 (2013-03-10)

  • first release

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rebecca.view, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size rebecca.view-0.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page