make copy and pase of oshash from filesystem easier

This commit is contained in:
j 2012-06-13 09:45:39 +02:00
parent a96125044d
commit e72a9675c7

View file

@ -431,6 +431,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())