docs: def get_modified_time(storage, name):
      """
      Get modified time from storage, ensuring the result is a timezone-aware
      datetime.
      """
      try:
          try:
              # Prefer Django 1.10 API and fall back to old one
              modified_time = storage.get_modified_time(name)
          except AttributeError:
              modified_time = storage.modified_time(name)
      except OSError:
          return 0
      except NotImplementedError:
          return None
      if modified_time and timezone.is_naive(modified_time):
          if getattr(settings, 'USE_TZ', False):
              default_timezone = timezone.get_default_timezone()
              return timezone.make_aware(modified_time, default_timezone)
      return modified_time