Skip to content
Myr

Fix missing assignment in MethodView example (#4815)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by waffle-stomper · committed by GitHub · parent c34c84b · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/views.rst+1 added-1 removed
247 unmodified lines
248 class ItemAPI(MethodView):249 init_every_request = False250251 def __init__(self, model):252 self.model252 self.model = model253 self.validator = generate_validator(model)254255 def _get_item(self, id):256 return self.model.query.get_or_404(id)
68 unmodified lines