flask-classy
flask-classy copied to clipboard
Class based views for Flask
Thank for flask-classy. I am coming from php codeigniter and flask-classy helped me very much. I have a problem. i am trying to do that example http://flask.pocoo.org/docs/0.10/blueprints/#templates . My application...
https://github.com/apiguy/flask-classy/blob/master/flask_classy.py#L87 find the bug assert not None == True
With this pull request, I've added the ability to generalize the View suffix on subclasses of FlaskView.
Fixed typo: @app.before_reqeust -> @app.before_request
Test will fail with saying multiple id keyword. In reality, kwargs will have `id` and the actually `id` is passed with `self`, an instance of `DecoratedView` Test case for #35
Fix issue https://github.com/apiguy/flask-classy/issues/22 The issue is with cache strictly bound to the class object. Rule lookup doesn't count inheritance correctly. Then, if you have ``` python class BaseView(FlaskView): @route('/delete/') def...
docs & tests included
python setup.py nosetests fail. The problem has been introduced on dcf62b46f0d This patch fixes the problem. diff --git a/test_classy/test_endpoints.py b/test_classy/test_endpoints.py index 1584c10..482e7d6 100644 --- a/test_classy/test_endpoints.py +++ b/test_classy/test_endpoints.py @@ -44,4 +44,4...