Hi guys, i´m a bit lost in the documentation. My use case is quite simple.
I need to fetch in table for 2 conditons, like, i need all users that were created after date x and before date y.
Best Regards
Hi guys, i´m a bit lost in the documentation. My use case is quite simple.
I need to fetch in table for 2 conditons, like, i need all users that were created after date x and before date y.
Best Regards
You pass multiple named arguments to filter
, such as User.objects.filter(creation_timestamp__gt=x, creation_timestamp__lt=y)