How do I find the previous Monday's date, based off of the current date using Python? I thought maybe I could use: datetime.weekday()
to do it, but I am getting stuck.
I basically want to find today's date and Mondays date to construct a date range query in django using: created__range=(start_date, end_date)
.