From 0606b09ec6c369ba00c268641cf7f39e806e874f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 25 Jul 2013 14:36:48 +0200 Subject: [PATCH] redirect to media --- 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 98966399..40298d37 100644 --- a/pandora/archive/views.py +++ b/pandora/archive/views.py @@ -474,7 +474,7 @@ actions.register(getPath, cache=True) def lookup_file(request, oshash): oshash = oshash.replace('/', '') f = get_object_or_404(models.File, oshash=oshash) - return redirect('%s/files' % f.item.get_absolute_url()) + return redirect('%s/media' % f.item.get_absolute_url()) def _order_query(qs, sort, prefix=''):