Changes between Initial Version and Version 1 of Ticket #34566, comment 3


Ignore:
Timestamp:
May 15, 2023, 2:33:18 PM (12 months ago)
Author:
Natalia Bidart

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34566, comment 3

    initial v1  
    3434        return qs.annotate(models.Count("user_permissions"))
    3535
    36     def custom_perm_count(user):
     36    def custom_perm_count(self, user):
    3737        return user.user_permissions__count
    3838
Back to Top