python-ox/ox/utils.py

12 lines
211 B
Python

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