(request, uid, path)
Serves files from a job directory.
Serves files from a job directory.
Serves files from a job directory .
def job_serve(request, uid, path):
    """
    Serves files from a job directory.
    """
    obj = Job.objects.filter(uid=uid).first()

    if obj:
        return file_serve(request=request, path=path, obj=obj)
    else:
        messages.error(request, "Object does not exist")
        return redirect("/")
def job_serve ( request , uid , path ) : obj = Job . objects . filter ( uid = uid ) . first ( ) if obj : return file_serve ( request = request , path = path , obj = obj ) else : messages . error ( request , "Object does not exist" ) return redirect ( "/" )