organizations.managers module

class organizations.managers.OrganizationQuerySet(model=None, query=None, using=None, hints=None)[source]

Bases: django.db.models.query.QuerySet

all_sponsors()[source]

All Organizations which have subsidized SciPost at least once in the past.

current_sponsors()[source]

Organizations which have a Subsidy which is ongoing (date_until <= today).

with_subsidy_above_and_up_to(min_amount, max_amount=None)[source]

List of sponsors with at least one subsidy above parameter:amount.

order_by_total_amount_received()[source]

Order by (decreasing) total amount received.