I am beginner to Django. I am trying to concatenate two QuerySets from the same Model. I don't need them to be in any specific order.
normal_events = Events.objects.filter(date__day=day,is_weekly=False)
weekly_events = Events.objects.filter(date__day=day%7,is_weekly=True)
I've tired this solution:
events=normal_events + weekly_events
but obviously it doesn't work.
I saw this solution: https://stackoverflow.com/a/434755/3279262 and it works fine, but it is meant for different QuerySets.
Is there some simple way for same QuerySets?