Changes between Initial Version and Version 1 of Ticket #34566, comment 3
- Timestamp:
- May 15, 2023, 2:33:18 PM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34566, comment 3
initial v1 34 34 return qs.annotate(models.Count("user_permissions")) 35 35 36 def custom_perm_count( user):36 def custom_perm_count(self, user): 37 37 return user.user_permissions__count 38 38