python-ox/ox/utils.py
2011-04-06 15:24:32 +02:00

15 lines
310 B
Python

# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
try:
from django.utils import datetime
except ImportError:
from datetime import datetime
try:
import simplejson as json
except ImportError:
try:
import json
except ImportError:
from django.utils import simplejson as json