profiles.managers module

class profiles.managers.ProfileQuerySet(model=None, query=None, using=None, hints=None)[source]

Bases: django.db.models.query.QuerySet

get_unique_from_email_or_None(email)[source]
potential_duplicates()[source]

Returns only potential duplicate Profiles (as identified by first and last names, and separately by (case-insensitive) email).

specialties_overlap(specialties_slug_list)[source]

Returns all Profiles whose specialties overlap with those specified in the slug list.

This method is also separately implemented for Contributor and PotentialFellowship objects.

class profiles.managers.AffiliationQuerySet(model=None, query=None, using=None, hints=None)[source]

Bases: django.db.models.query.QuerySet

current()[source]

Return affiliations which are currently valid.