diff options
author | Dan McGee <dan@archlinux.org> | 2012-03-26 17:27:01 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-03-26 17:27:01 +0200 |
commit | 8edc3c4b9dddecac436a741aa54b8ada52f87dae (patch) | |
tree | cd1f9d1aa08880f2f0e25df12fcf62d045199fab /packages | |
parent | fd1c992472ea259111a2f4930b73a805c07ee068 (diff) | |
download | archweb-8edc3c4b9dddecac436a741aa54b8ada52f87dae.tar.gz archweb-8edc3c4b9dddecac436a741aa54b8ada52f87dae.tar.xz |
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 <dan@archlinux.org>
Diffstat (limited to 'packages')
-rw-r--r-- | packages/views/signoff.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |