I'm trying to show my posts for a specific time here is my models.py
class Booking(models.Model):
check_in = models.DateTimeField(default=timezone.now)
check_out = models.DateTimeField(blank=True,null=True)
i want display object for 12 hours after check out for example if we have an object its check out is 14/10/2021 10AM then show that post till 10PM !
i tried it , but didnt work Booking.objects.filter(check_out__hour=12)
is it possible please ? thank you in advance