code: def apply(request, task_name):
      
      try:
          task = tasks[task_name]
      except KeyError:
          raise Http404('apply: no such task')
      return task_view(task)(request)
docs: View applying a task.
  
      **Note:** Please use this with caution. Preferably you shouldn't make this
          publicly accessible without ensuring your code is safe!