Django Tutorials: Importing Django's Time-zone-related Utilities

By: Dusty Arlia
Published on Friday, February 28, 2014, 12:45 PM
Last Updated on Saturday, July 11, 2015 at 4:21 PM
Total Updates: 2

Add the following code to the top of your file to access Django's time-zone-related utilities:

from django.utils import timezone

Comments:

Ad:

Ad: