Prerequisites:
* Python 2.5.4+ <http://www.python.org/>
- * simplejson <http://code.google.com/p/simplejson/> (Not required with Python 2.6+)
* Django 1.1.1+ <http://www.djangoproject.com/>
* (Optional) django-grappelli 2.0+ <http://code.google.com/p/django-grappelli/>
from django.template import TemplateDoesNotExist
from django.template import Context, RequestContext
from django.core.exceptions import ObjectDoesNotExist
-try:
- import json
-except ImportError:
- import simplejson as json
+from django.utils import simplejson as json
from UserDict import DictMixin
from templatetags.containers import ContainerNode
from django.template.loader_tags import ExtendsNode, ConstantIncludeNode, IncludeNode