On Dec 22, 12:30 pm, Aldo wrote:
> Hi folks,
>
> Simple enough problem but cant find the functionality - if it exists.
>
> this_week = datetime.date.today() - timedelta(7)
> Cars.objects.filter(created_date>this_week)
>
> I basically want to find all cars that were created in the last 7
> days. I
Hi folks,
Simple enough problem but cant find the functionality - if it exists.
this_week = datetime.date.today() - timedelta(7)
Cars.objects.filter(created_date>this_week)
I basically want to find all cars that were created in the last 7
days. I have seen there are things for the month and yea
2 matches
Mail list logo