def AsJSON(self):
    return json.dumps(data.ConvertToBaseTypes(self))
alternate: django-admin builtin commands succeed if settings are provided as argument
dataset/ETHPy150Open google/openhtf/openhtf/exe/test_state.py/TestState.AsJSON--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/admin_scripts/tests.py/DjangoAdminAlternateSettings.test_builtin_with_settings