Help on models.py
#201
-
class Companion(models.Model):
How User gets attribute get_activity_count here?? |
Beta Was this translation helpful? Give feedback.
Answered by
brylie
Feb 17, 2023
Replies: 1 comment
-
The |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
brylie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
User
model defines theget_activity_count
method.https://github.com/CompanionshipCare/companionship-care/blob/66f33b7926feaac897513db2407eae006c181a1f/project/accounts/models.py#L68