follows.py 239 B

123456789
  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 {"follows": self.users, "count": self.paginator["count"]}