diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-10-11 00:51:06 +0200 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-10-11 00:51:06 +0200 |
commit | 0e0265a624947fcb13860cfcc24078e79af9346b (patch) | |
tree | eb41441edda87b5aeadb6002f940022b6e78471f /devel | |
parent | 0207ba60fd0a8a749bf97f183e5ef6f71d0b1cde (diff) | |
download | archweb-0e0265a624947fcb13860cfcc24078e79af9346b.tar.gz archweb-0e0265a624947fcb13860cfcc24078e79af9346b.tar.xz |
drop useless view
Diffstat (limited to 'devel')
-rw-r--r-- | devel/views.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/devel/views.py b/devel/views.py index e0e25e1..2b78e53 100644 --- a/devel/views.py +++ b/devel/views.py @@ -65,12 +65,9 @@ def siteindex(request): pkgs = Package.objects.exclude(repo__name__iexact='testing').order_by( '-last_update')[:15] repos = Repo.objects.all() - return render_response( - request, 'devel/siteindex.html', - {'news_updates': news, 'pkg_updates': pkgs, 'repos': repos}) - -def denied(request): - return render_response(request, 'devel/denied.html') + return render_to_response('devel/siteindex.html', + RequestContext(request, + {'news_updates': news, 'pkg_updates': pkgs, 'repos': repos})) # vim: set ts=4 sw=4 et: |