diff --git a/py4web/utils/auth.py b/py4web/utils/auth.py index 64e7ad0c..f7d6e5d1 100644 --- a/py4web/utils/auth.py +++ b/py4web/utils/auth.py @@ -412,7 +412,10 @@ def define_tables(self): readable=False, ) ) - db.define_table("auth_user", *(auth_fields + self.extra_auth_user_fields)) + db.define_table( + "auth_user", + *(auth_fields + self.extra_auth_user_fields), + format=lambda u: f"{u.first_name} {u.last_name}") @property def signature(self): diff --git a/requirements.txt b/requirements.txt index c636f3b6..5474ae41 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,7 @@ pycryptodome pluralize >= 20240515.1 rocket3 >= 20230507.1 yatl >= 20230507.3 -pydal >= 20240428.2 +pydal >= 20240529.1 watchgod >= 0.6 # optional modules: