Show community account last login and count info on admin page
authorMagnus Hagander <magnus@hagander.net>
Tue, 7 Jul 2020 10:24:08 +0000 (12:24 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 7 Jul 2020 10:25:39 +0000 (12:25 +0200)
commite850a9bf3e08014b6a921b87d813c37ace7a6af7
treed07710422f73e55d96cd9c54677d55da730973c6
parente9c84c668f4b5a6d1db0f8b9078480a0607f1f16
Show community account last login and count info on admin page

The collection facility was added in
[200~9e70a4e0c32f8db0178f05dac4c1fca7b317e7c5, but no way was added to
view it. To make it a  bit more useful, add a static set of info on the
user edit page in /admin/ that shows the last login and number of logins
per site.
pgweb/account/admin.py
pgweb/util/templates/forms/widgets/community_auth_usage_widget.html [new file with mode: 0644]
pgweb/util/widgets.py [new file with mode: 0644]