published by | clivern |
---|---|
in blog | Django | Clivern |
original entry | Django Custom Month and Year Lookup |
Everyone want to keep Django timezone support but sometimes you need to keep your SQL queries a way from timezone conversion especially if by default your application timezone is UTC. Django will do something like this CONVERT_TZ(`app_incident`.`datetime`, 'UTC', 'UTC')) and it will return Null if the timezone table is empty. Even that conversion is not […]
The post Django Custom Month and Year Lookup first appeared on Clivern.