class documentation

class Harvest(models.Model): (source)

View In Hierarchy

Harvest model

Class Meta Undocumented
Method __str__ Undocumented
Method get_days_before_harvest Undocumented
Method get_fruits Undocumented
Method get_local_end Undocumented
Method get_local_start Undocumented
Method get_neighborhood Undocumented
Method get_pickers Undocumented
Method get_pickers_count Undocumented
Method get_public_title Undocumented
Method get_status_l10n Undocumented
Method get_total_distribution Undocumented
Method get_unselected_pickers Volunteers who have been rejected or are waiting for approval
Method is_happening Undocumented
Method is_open_to_requests Undocumented
Method is_publishable Undocumented
Method is_urgent Undocumented
Constant PUBLISHABLE_STATUSES Undocumented
Class Variable about Undocumented
Class Variable changed_by Undocumented
Class Variable creation_date Undocumented
Class Variable end_date Undocumented
Class Variable equipment_reserved Undocumented
Class Variable nb_required_pickers Undocumented
Class Variable owner_fruit Undocumented
Class Variable owner_help Undocumented
Class Variable owner_present Undocumented
Class Variable pick_leader Undocumented
Class Variable property Undocumented
Class Variable publication_date Undocumented
Class Variable start_date Undocumented
Class Variable status Undocumented
Class Variable trees Undocumented
def __str__(self): (source)

Undocumented

def get_days_before_harvest(self): (source)

Undocumented

def get_fruits(self): (source)

Undocumented

def get_local_end(self): (source)

Undocumented

def get_local_start(self): (source)

Undocumented

def get_neighborhood(self): (source)

Undocumented

def get_pickers(self): (source)

Undocumented

def get_pickers_count(self, is_accepted: bool | None = None, is_cancelled: bool = False) -> int: (source)

Undocumented

def get_public_title(self): (source)

Undocumented

def get_status_l10n(self): (source)

Undocumented

def get_total_distribution(self): (source)

Undocumented

def get_unselected_pickers(self): (source)

Volunteers who have been rejected or are waiting for approval

def is_happening(self): (source)

Undocumented

def is_open_to_requests(self): (source)

Undocumented

def is_publishable(self): (source)

Undocumented

def is_urgent(self): (source)

Undocumented

PUBLISHABLE_STATUSES: list[str] = (source)

Undocumented

Value
['Ready', 'Date-scheduled', 'Succeeded']

Undocumented

changed_by = (source)

Undocumented

creation_date = (source)

Undocumented

end_date = (source)

Undocumented

equipment_reserved = (source)

Undocumented

nb_required_pickers = (source)

Undocumented

owner_fruit = (source)

Undocumented

owner_help = (source)

Undocumented

owner_present = (source)

Undocumented

pick_leader = (source)

Undocumented

property = (source)

Undocumented

publication_date = (source)

Undocumented

start_date = (source)

Undocumented

Undocumented

Undocumented