On 1/11/07, Waylan Limberg <[EMAIL PROTECTED]> wrote:
>
> If my understanding is correct, when you use this method:
>
> > choices = {
> > 'queryset': Poll.objects.filter(opening_date__lte=datetime.now(),
> > closing_date__gte=datetime.now())
> > }
>
> The value of datetime.now() is evaluated a
If my understanding is correct, when you use this method:
> choices = {
> 'queryset': Poll.objects.filter(opening_date__lte=datetime.now(),
> closing_date__gte=datetime.now())
> }
The value of datetime.now() is evaluated at compilation time when
apache/mod_python is started (or at least when
2 matches
Mail list logo