pages
process_manager.views.pages
View functions for pages.
Classes
BootProcessView
Bases: PermissionRequiredMixin
, FormView[BootProcessForm]
View for the BootProcess form.
Functions
form_valid(form)
Boot a Process when valid form data has been POSTed.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
form
|
BootProcessForm
|
the form instance that has been validated. |
required |
Returns:
Type | Description |
---|---|
HttpResponse
|
A redirect to the index page. |
Source code in process_manager/views/pages.py
Functions
index(request)
View that renders the index/home page with process table.
logs(request, uuid)
Display the logs of a process.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
request
|
HttpRequest
|
the triggering request. |
required |
uuid
|
UUID
|
identifier for the process. |
required |
Returns:
Type | Description |
---|---|
HttpResponse
|
The rendered page. |