scipost.managers module¶
-
class
scipost.managers.FellowManager[source]¶ Bases:
django.db.models.manager.ManagerCustom defined filters for the Fellow model.
-
class
scipost.managers.ContributorQuerySet(model=None, query=None, using=None, hints=None)[source]¶ Bases:
django.db.models.query.QuerySetCustom defined filters for the Contributor model.
-
specialties_overlap(discipline, expertises=[])[source]¶ Returns all Contributors specialized in the given discipline and any of the (optional) expertises.
This method is also separately implemented for Profile and Fellowship objects.
-
specialties_contain(discipline, expertises=[])[source]¶ Returns all Contributors specialized in the given discipline and all of the (optional) expertises.
This method is also separately implemented for Profile and Fellowship objects.
-
Bases:
django.db.models.manager.Manager