def job_activate(request, job_id, auth):
    job = get_object_or_404(Job, pk=job_id, auth=auth)
    extra_context={}
    if not job.is_active():
        job.activate()
        if djobberbase_settings.DJOBBERBASE_POSTER_NOTIFICATIONS:
            publish_email = MailPublishToUser(job, request)
            publish_email.start()
        messages.add_message(request, 
                             messages.INFO, 
                             _('Your job has been activated.'))
        extra_context['page_type'] = 'activate'
    queryset=Job.active.all()
    return object_detail(request, queryset=queryset, 
                            object_id=job_id, extra_context=extra_context)
Creates the visualization JSON files for the provided system.
dataset/ETHPy150Open wtrevino/django-djobberbase/djobberbase/views.py/job_activate--crossover with--dataset/ETHPy150Open pydy/pydy/pydy/viz/scene.py/Scene.generate_visualization_json_system