django goodies


Author: yifei / Created: June 26, 2017, 10:24 a.m. / Modified: June 26, 2017, 10:25 a.m. / Edit

timezone aware time

from django.utils import timezone now_aware = timezone.now()


评论区