From f5003f9613e1620b49b5c578a3d41598f6742ad5 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 28 Jun 2012 15:55:38 +0200 Subject: [PATCH] redirect to files view --- pandora/archive/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/views.py b/pandora/archive/views.py index 000e5857b..fc6fd88f7 100644 --- a/pandora/archive/views.py +++ b/pandora/archive/views.py @@ -433,7 +433,7 @@ actions.register(removeFiles, cache=False) def lookup_file(request, oshash): oshash = oshash.replace('/', '') f = get_object_or_404(models.File, oshash=oshash) - return redirect(f.item.get_absolute_url()) + return redirect('%s/files' % f.item.get_absolute_url()) def _order_query(qs, sort, prefix=''):