By default Django has a date lookup that support timezones. It actually will wrap your field with CONVERT_TZ in case USE_TZ is True. This is pretty awesome unless you have timezones table empty

#django #mysql #python #custom

Django Custom Lookups
3.65 GEEK