def METHOD_NAME(request, name, repo, arch):
    pkg = get_object_or_404(Package.objects.normal(),
                            pkgname=name, repo__name__iexact=repo, arch__name=arch)
    pkg.flag_date = None
    pkg.save()
    return redirect(pkg)