Forgot:
timezone is set correctly:
TIME_ZONE = 'America/Santiago'
The server is in Houston, USA:
On Jun 3, 9:16 pm, Rodrigo Culagovski <[EMAIL PROTECTED]> wrote:
> I have a Banner model with a show_from DateTimeField, which I filter
> to make sure I'm only showing them after they're due, like
I have a Banner model with a show_from DateTimeField, which I filter
to make sure I'm only showing them after they're due, like so:
from datetime import datetime
current_banners = Banner.objects.filter(show_from__lte =
datetime.now())
However, the server is not in the same time zone as the
2 matches
Mail list logo