docs: fix typos in errorhandling.rst and views.rst

This commit is contained in:
/ 2026-06-04 21:45:07 -05:00
parent 36e4a824f3
commit fbdfa2927f
2 changed files with 4 additions and 4 deletions

View file

@ -112,7 +112,7 @@ function.
self.model = model
self.template = f"{model.__name__.lower()}/detail.html"
def dispatch_request(self, id)
def dispatch_request(self, id):
item = self.model.query.get_or_404(id)
return render_template(self.template, item=item)