submissions.managers.recommendation module

class submissions.managers.recommendation.EICRecommendationQuerySet(model=None, query=None, using=None, hints=None)[source]

Bases: django.db.models.query.QuerySet

QuerySet for the EICRecommendation model.

user_must_vote_on(user)[source]

Return the subset of EICRecommendation the User is requested to vote on.

user_current_voted(user)[source]

Return the subset of EICRecommendations currently undergoing voting, for which the User has already voted.

put_to_voting(longer_than_days=None)[source]

Return the subset of EICRecommendation currently undergoing voting.

voting_in_preparation()[source]

Return the subset of EICRecommendation currently undergoing preparation for voting.

active()[source]

Return the subset of non-deprecated EICRecommendations.

fixed()[source]

Return the subset of fixed EICRecommendations.

asking_revision()[source]

Return EICRecommendation asking for a minor or major revision.