Finally fix lessons_on_day property
The lessons_on_day
property has two problems that create some conflicts together:
- The
filter_from_person
method can returnNone
, so you can't do an order by then afterwards. - The
filter_from_person
method can return an union queryset, so you have to do the order by afterwards.