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