diff --git a/ox/django/utils.py b/ox/django/utils.py index 261f979..35af419 100644 --- a/ox/django/utils.py +++ b/ox/django/utils.py @@ -1,7 +1,10 @@ +# -*- coding: utf-8 -*- +# vi:si:et:sw=4:sts=4:ts=4 +from django.utils.datetime_safe import datetime +from django.utils import simplejson from django.http import HttpResponse,Http404 from django.core.servers.basehttp import FileWrapper from django.conf import settings -from django.utils.datetime_safe import datetime import mimetypes import os diff --git a/ox/utils.py b/ox/utils.py index 11c6300..1a62cff 100644 --- a/ox/utils.py +++ b/ox/utils.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 + try: from django.utils import datetime except ImportError: