django utils timezone.now code example
Example 1: django datetime field timezone
if you need timezone input from your user,
you will need to set USE_TZ = False in setting.py
then use DateTimeField which is naive datetime
along with CharField to store timezone information in your models.py.
Example 2: celery timezone setting django
$ celery -A proj beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler