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.4
No more print if debug=True, now it depends on logging in a Pyramid config file.
Fixed too long route_name if class view inherit other class.
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.