You've already posted the same question:
https://groups.google.com/g/django-users/c/f7ZH2pcZp0s
On Wednesday, 20 April 2022 at 16:44:19 UTC+2 techg...@gmail.com wrote:
> I have a model Staff and LeaveReportStaff, I wanted to get leave_balance
> between Total_Leave_Days and leave_days. I already
I have a model Staff and LeaveReportStaff, I wanted to get leave_balance
between Total_Leave_Days and leave_days. I already used Foreignkey for
staff but I'm not sure if it is right to use Foreignkey again.
Please advise the best way forward.
class Staff(models.Model):
Total_Leave_Days = mode
2 matches
Mail list logo