1. Thomas Hoffbauer
  2. django-mssql

Commits

Michael Manfre  committed 584e8e0

Add missing timedelta import for timezone backport

  • Participants
  • Parent commits bc96f77
  • Branches default

Comments (0)

Files changed (1)

File sqlserver_ado/timezone.py

View file
 TZ helper functions backported from Django 1.4. This module should only 
 get loaded if django.utils.timezone doesn't exist.
 """
-
+from datetime import timedelta
 
 try:
     import pytz