module documentation
The views
module in the dataexplorer
app mostly handles the
DashboardView
, which takes care of initializing the complex
forms.DashboardForm
, passing the cleaned values to all the filtering
functions in the query
module to finally pass the queried information to
the context variable that is rendered into the HTML response.
Class |
|
Use the forms.DashboardForm and the patients.models.Patient model along with the query functions to extract the requested information from the database and render it into the HTML response displaying the lymphatic patterns of progression. |
Function | dashboard_ |
View that receives JSON data from the AJAX request and cleans it using the same method as the class-based DashboardView. |
Function | help |
Simply display the dashboard help text. |
Function | transform |
If stats contains any values that are of type np.ndarray, then they are converted to normal lists. |
Variable | logger |
Undocumented |