reporting.reporting_app package

Subpackages

Submodules

reporting.reporting_app.urls module

Define url structure

reporting.reporting_app.view_util module

Utilities common to the whole web application.

@copyright: 2014 Oak Ridge National Laboratory

reporting.reporting_app.view_util.reduction_setup_url(instrument)[source]

Check whether the reduction app is installed, and if so return a URL for the reduction setup if it’s enabled for the given instrument

Parameters:

instrument – instrument name

reporting.reporting_app.view_util.send_activemq_message(destination, data)[source]

Send an AMQ message to the workflow manager.

Parameters:
  • destination – queue to send the request to

  • data – JSON data payload for the message

reporting.reporting_app.wsgi module

WSGI config for reporting_app project.

This module contains the WSGI application used by Django’s development server and any production WSGI deployments. It should expose a module-level variable named application. Django’s runserver and runfcgi commands discover this application via the WSGI_APPLICATION setting.

Usually you will have the standard Django WSGI application here, but it also might make sense to replace the whole Django WSGI application with a custom one that later delegates to the Django one. For example, you could introduce WSGI middleware here, or combine a Django application with an application of another framework.

Module contents