Skip to content

Commit

Permalink
fixed typo, thanks Dexter
Browse files Browse the repository at this point in the history
  • Loading branch information
mdipierro committed May 24, 2024
1 parent 8250ce7 commit 14f5e4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/chapter-13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ The second one forces the login if needed:
@action.uses(auth.user)
def index():
user = auth.get_user()
return 'hello {first_name}'.format(**user)'
return 'hello {first_name}'.format(**user)
Here ``@action.uses(auth.user)`` tells py4web that this action requires
a logged in user and should redirect to login if no user is logged in.
Expand Down
2 changes: 1 addition & 1 deletion py4web/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__author__ = "Massimo Di Pierro <[email protected]>"
__license__ = "BSD-3-Clause"
__version__ = "1.20240518.3"
__version__ = "1.20240518.4"


def _maybe_gevent():
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "py4web"
version = "1.20240518.3"
version = "1.20240518.4"
authors = [{ name="Massimo Di Pierro", email="[email protected]" },]
description = "A fast, stable, comprehensive web framework"
readme = "README.rst"
Expand Down

0 comments on commit 14f5e4f

Please sign in to comment.