@staff_member_required()
def dataset_details(request, dataset_id):
    try:
        dataset = Dataset.objects.get(pk=dataset_id)
    except Dataset.DoesNotExist:
        return Http404('The dataset does not exist')
    return render(request, 'annotationweb/dataset_details.html', {'dataset': dataset})
@staff_member_required()
def dataset_details(request, dataset_id):
    try:
        dataset = Dataset.objects.get(pk=dataset_id)
    except Dataset.DoesNotExist:
        return Http404('The dataset does not exist')
    return render(request, 'annotationweb/dataset_details.html', {'dataset': dataset})