Skip to content

Commit

Permalink
fix typo (#1121)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism authored Oct 13, 2022
2 parents 9692880 + aa605f5 commit 003ea23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/queries.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ for missing entries. Flask-SQLAlchemy provides some extra query methods.

.. code-block:: python
@app.route("/user-by-id/<int:id>)
@app.route("/user-by-id/<int:id>")
def user_by_id(id):
user = db.get_or_404(User, id)
return render_template("show_user.html", user=user)
Expand Down

0 comments on commit 003ea23

Please sign in to comment.