From 8edc3c4b9dddecac436a741aa54b8ada52f87dae Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 26 Mar 2012 10:27:01 -0500 Subject: Bump signoffs and mirror status JSON API versions Due to datetime formatting changes in Django 1.4, we know follow the ECMA specification more closely and use 'yyyy-mm-ddThh:mm_ssZ' format. As this could break existing users of the JSON data, bump the version. Signed-off-by: Dan McGee --- packages/views/signoff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/views/signoff.py b/packages/views/signoff.py index cf00b0b..63341a1 100644 --- a/packages/views/signoff.py +++ b/packages/views/signoff.py @@ -180,7 +180,7 @@ class SignoffJSONEncoder(DjangoJSONEncoder): def signoffs_json(request): signoff_groups = sorted(get_signoff_groups(), key=attrgetter('pkgbase')) data = { - 'version': 1, + 'version': 2, 'signoff_groups': signoff_groups, } to_json = simplejson.dumps(data, ensure_ascii=False, -- cgit v1.2.3-24-g4f1b