2010-07-10 11:54:33 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# vi:si:et:sw=4:sts=4:ts=4
|
2012-09-06 11:45:30 +00:00
|
|
|
|
2010-07-10 11:54:33 +00:00
|
|
|
try:
|
2011-04-05 12:06:56 +00:00
|
|
|
from django.utils import datetime
|
2014-05-17 16:30:15 +00:00
|
|
|
except:
|
2010-07-10 11:54:33 +00:00
|
|
|
from datetime import datetime
|
|
|
|
|
2010-07-28 13:04:43 +00:00
|
|
|
try:
|
|
|
|
import simplejson as json
|
2010-11-23 09:23:40 +00:00
|
|
|
except ImportError:
|
|
|
|
try:
|
|
|
|
import json
|
|
|
|
except ImportError:
|
|
|
|
from django.utils import simplejson as json
|
|
|
|
|
2012-01-10 09:00:29 +00:00
|
|
|
try:
|
|
|
|
import xml.etree.ElementTree as ET
|
|
|
|
except:
|
|
|
|
import elementtree.ElementTree as ET
|