Middleware

Additional middleware classes that intercept requests before any view can handle them.

class mastf.MASTF.middleware.FirstTimeMiddleware(get_response)[source]

Used to redirect to the setup page when starting this framework for the first time.

Note that this middleware will return a rendered setup page for all incoming request if the framework has not been initialized.