diff --git a/flask_restless/manager.py b/flask_restless/manager.py index 8285cf5a..ca6fbad7 100644 --- a/flask_restless/manager.py +++ b/flask_restless/manager.py @@ -291,29 +291,17 @@ def create_api_blueprint(self, model, methods=READONLY_METHODS, Added the `results_per_page` keyword argument. .. versionadded:: 0.5 - Added the `include_columns` keyword argument. - - .. versionadded:: 0.5 - Added the `validation_exceptions` keyword argument. + Added the `include_columns` and `validation_exceptions` keyword + argument. .. versionadded:: 0.4 - Added the `authentication_required_for` keyword argument. + Added the `allow_functions`, `allow_patch_many`, + `authentication_required_for`, `authentication_function`, and + `collection_name` keyword arguments. .. versionadded:: 0.4 - Added the `authentication_function` keyword argument. - - .. versionadded:: 0.4 - Added the `allow_functions` keyword argument. - - .. versionchanged:: 0.4 Force the model name in the URL to lowercase. - .. versionadded:: 0.4 - Added the `allow_patch_many` keyword argument. - - .. versionadded:: 0.4 - Added the `collection_name` keyword argument. - """ if authentication_required_for and not authentication_function: msg = ('If authentication_required is specified, so must' diff --git a/flask_restless/views.py b/flask_restless/views.py index d85a7027..84f2bf01 100644 --- a/flask_restless/views.py +++ b/flask_restless/views.py @@ -405,16 +405,12 @@ def __init__(self, session, model, authentication_required_for=None, Added the `results_per_page` keyword argument. .. versionadded:: 0.5 - Added the `include_columns` keyword argument. - - .. versionadded:: 0.5 - Added the `validation_exceptions` keyword argument. - - .. versionadded:: 0.4 - Added the `authentication_required_for` keyword argument. + Added the `include_columns`, and `validation_exceptions` keyword + arguments. .. versionadded:: 0.4 - Added the `authentication_function` keyword argument. + Added the `authentication_required_for` and + `authentication_function` keyword arguments. """ super(API, self).__init__(session, model, *args, **kw)