Hello,

As far is I know it's not possible to query date fields for a cerain
week number, eg.

# Select all polls from week 5, 2006
polls.get_list(
    pub_date__year=2006,
    pub_date__week=5
)

Would it make sense to implement such a thing? An alternative would be
to figure out at what date a week starts and ends and just use
pub_date__range, but that's not really the point. I'm just curious how
easy/hard it would be to implement.

If the above isn't going to work, what's the best/most elegant way to
go, __range?

- janr

Reply via email to