hvgab / EmployeeDirectory

Employee Directory Test/Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

if end_date is null, or in the future, set employee.is_employed to True, else Fa...

todo opened this issue · comments

commented

# TODO: if end_date is null, or in the future, set employee.is_employed to True, else False.
super(Employment, self).save(*args, **kwargs)
def __str__(self):
return f"{self.jobtitle} ({self.start_date} - {self.end_date})"


This issue was generated by todo based on a TODO comment in 46b869f. It's been assigned to @undefined because they committed the code.