summaryrefslogtreecommitdiffstats
path: root/visualize/views.py
AgeCommit message (Collapse)AuthorFilesLines
2019-04-27Revert "visualize: remove unrequired list() calls added"Jelle van der Waa1-2/+2
This reverts commit 1560c4d9040bab7b21b47d5d82599fd69b2eb324.
2019-04-27visualize: remove unrequired list() calls addedJelle van der Waa1-2/+2
2to3 added list() for safety reasons, but not the right reasons, remove the conversion.
2019-01-21main: run 2to3Jelle van der Waa1-2/+2
2013-01-13Use content_type and not mimetype on HttpResponse()Dan McGee1-2/+2
Bug #16519 in Django deprecates mimetype, so update our code accordingly. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-16Use Python 2.7 dictionary comprehension syntaxDan McGee1-2/+2
Rather than the old idiom of dict((k, v) for <> in <>). Signed-off-by: Dan McGee <dan@archlinux.org>
2012-11-13Move JSON keys view to public/ appDan McGee1-46/+5
This seems like a more appropriate place, and now the visualization is done here anyway so we should move the data backing it. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-24Replace deprecated direct_to_template() with render() shortcutDan McGee1-2/+2
Now that Django actually provides a concise way to use a RequestContext object without instantiating it, we can use that rather than the old function-based generic view that worked well to do the same. Additionally, these function-based generic views will be gone in Django 1.5, so might as well make the move now. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-05-12Use python json module directly in place of simplejsonDan McGee1-4/+4
As of Python 2.6, this is a builtin module that has all the same functions and capabilities of the Django simplejson module. Additionally simplejson is deprecated in the upcoming Django 1.5 release. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-29Add developer status table to master keys pageDan McGee1-1/+1
This shows the cross-product of each master key with each developer key so you can see who has been signed, where signatures are missing, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-05Add pgp_keys visualize JSON viewDan McGee1-1/+47
This will be used for an SVG graph of all of the master and developer PGP keys. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-11Pylint suggested and other cleanupsDan McGee1-2/+12
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-05Add package visualizations pageDan McGee1-0/+59
Why the hell not? Have fun clicking all the pretty buttons. Signed-off-by: Dan McGee <dan@archlinux.org>