sehmaschine/django-grappelli — pull request #87 by h3 (2012-02-10 19:10:04+00:00)
Title: Compatibility issue with python 2.5.*

I had problem deploying a project on my hosting server today.. after some digging I font the offending line in grappelli's grp_tags:

import json

Problem is that it became a standard library only as python 2.6. So every sites using python 2.5 will break when updating grappelli.

My commit tries to import json but falls back to the simplejson shipped with django if it cannot import it.

While I understand that python is moving forward and 2.5 will be deprecated, suddenly dropping support when 3 lines of codes are required to make it compatible is a bit drastic.

Cheers