summaryrefslogtreecommitdiffstats
path: root/retro/views.py
AgeCommit message (Collapse)AuthorFilesLines
2012-07-25Replace 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-03-24Convert retro pages to use {% retro_static %} template tagDan McGee1-3/+1
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-19Add retro views from 2003 through 2011Dan McGee1-1/+15
These follow the prior commit adding the framework and an initial 2002 retro view. Signed-off-by: Dan McGee <dan@archlinux.org>
2012-02-19Add a retro site view and link it to a URLDan McGee1-0/+19
This is from our friends at web.archive.org, who's earliest capture of the Arch Linux website was on March 28, 2002. Seems like something nice to do around the 10th anniversary of the website being up and the distro being around, and not hotlinking their servers also seems like a good idea. Signed-off-by: Dan McGee <dan@archlinux.org>