follows.py 274 B

123456789101112
  1. from .followers import Followers
  2. class Follows(Followers):
  3. def get_queryset(self, profile):
  4. return profile.follows
  5. def get_template_context(self):
  6. return {
  7. 'follows': self.users,
  8. 'count': self.paginator['count'],
  9. }