On 14 nov, 20:21, "Jean-Luc" <[EMAIL PROTECTED]> wrote:
> James Bennett a écrit :
>
> > On 11/14/06, James Bennett <[EMAIL PROTECTED]> wrote:
> > > IIRC I'm the one who made it do that, and it was because, at the time,
> > > the way Dja
James Bennett a écrit :
> On 11/14/06, James Bennett <[EMAIL PROTECTED]> wrote:
> > IIRC I'm the one who made it do that, and it was because, at the time,
> > the way Django handled the 'range' lookup was *not* inclusive, so it
> > needed to extend to the first day of the next month or else it
>
Hi Django boys and girls
Please see my post "Date based generic view"
in Django users
I check the code in
root/django/trunk/django/views/generic/date_based.py
124 # Calculate first and last day of month, for use in a
date-range lookup.
125 first_day = date.replace(day=1)
126