diff --git a/tests/regressiontests/templates/tests.py b/tests/regressiontests/templates/tests.py index 33114c7476..042aba2f65 100644 --- a/tests/regressiontests/templates/tests.py +++ b/tests/regressiontests/templates/tests.py @@ -6,10 +6,11 @@ if __name__ == '__main__': # before importing 'template'. settings.configure() +from datetime import datetime, timedelta import os +import sys import traceback import unittest -from datetime import datetime, timedelta from django import template from django.core import urlresolvers