quiltingcode / pp4-craft-cafe

1 stars 2 forks source link

BUG: Cafe Statistics - total number of users count won't show #130

Closed quiltingcode closed 1 year ago

quiltingcode commented 1 year ago

Describe the bug On the admin cafe dashboard, at the top is a list of overall site statistics.

The users.count doesn't work, but this is because I can't access the model directly as its the django allauth model, not my own so it isn't listed in models.py and I don't know where to add a count method for this.

I will investigate

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'

  2. See Total Users - blank

Expected behavior User count number

Screenshots image

quiltingcode commented 1 year ago

Removed this feature for now . WIll try to re-implement in future with a customer user Model and count method.