(request, uid)
return render(request, "data_view.html", context)
Show information specific to each data.
Show information specific to each data.
Show information specific to each data .
def data_view(request, uid):
    "Show information specific to each data."

    data = Data.objects.filter(uid=uid).first()
    project = data.project
    paths = auth.listing(root=data.get_data_dir())

    context = dict(data=data, project=project, paths=paths, serve_view="data_serve",
                   activate='Selected Data', uid=data.uid, show_all=True)
    counts = get_counts(project)
    context.update(counts)

    return render(request, "data_view.html", context)
def data_view ( request , uid ) : data = Data . objects . filter ( uid = uid ) . first ( ) project = data . project paths = auth . listing ( root = data . get_data_dir ( ) ) context = dict ( data = data , project = project , paths = paths , serve_view = "data_serve" , activate = 'Selected Data' , uid = data . uid , show_all = True ) counts = get_counts ( project ) context . update ( counts ) return render ( request , "data_view.html" , context )