Skip to main content

Class-based views for Pyramid

Project description

Pyramid-Classy

Pyramid-Classy is an extension that adds class-based views to Pyramid more simple. Main idea was taken from the Flask-Classy written by Freedom Dumlao.

Documentation: https://github.com/tark-hidden/pyramid_classy

Changelog

0.4.2

  • Py3 compatibility support.

0.4

  • IndexView is very useful name, but… Now you can handle a root url with any class you want - with route_base = ‘/’.

  • Some weird bugs has been fixed.

0.3

  • Fixed a terrible bug, that doesn’t allow to define a few routes for the root.

  • Added debug flag. Now you can see routes and their names if you want.

  • Added @view_defaults support. It’s weird, but it didn’t work properly.

0.2

  • Cleaned up code.

  • Now functions in classes accepts only one argument: self. Request variable now is self.request.

0.1

Initial release.

Project details


Download files

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

Source Distribution

pyramid-classy-0.4.3.zip (8.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page