Django filter for date timedelta #12976
Unanswered
MalfuncEddie
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I want to create a dashboard widget that lists the journal entries of the last 30 days.
i can create a filter with an exact date.
/extras/journal-entries/?created_after=2023-05-31+12%3A00%3A00
but is there something like /extras/journal-entries/?created_after=-30d
Beta Was this translation helpful? Give feedback.
All reactions