mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-09 09:08:15 -06:00
Merge a024356f6f
into 7d1f6b7049
This commit is contained in:
commit
c888bd3706
@ -12,7 +12,7 @@ A NetBox report is a mechanism for validating the integrity of data within NetBo
|
|||||||
|
|
||||||
## Writing Reports
|
## Writing Reports
|
||||||
|
|
||||||
Reports must be saved as files in the [`REPORTS_ROOT`](../configuration/optional-settings/#reports_root) path (which defaults to `netbox/reports/`). Each file created within this path is considered a separate module. Each module holds one or more reports (Python classes), each of which performs a certain function. The logic of each report is broken into discrete test methods, each of which applies a small portion of the logic comprising the overall test.
|
Reports must be saved as files in the [`REPORTS_ROOT`](../configuration/optional-settings.md/#reports_root) path (which defaults to `netbox/reports/`). Each file created within this path is considered a separate module. Each module holds one or more reports (Python classes), each of which performs a certain function. The logic of each report is broken into discrete test methods, each of which applies a small portion of the logic comprising the overall test.
|
||||||
|
|
||||||
!!! warning
|
!!! warning
|
||||||
The reports path includes a file named `__init__.py`, which registers the path as a Python module. Do not delete this file.
|
The reports path includes a file named `__init__.py`, which registers the path as a Python module. Do not delete this file.
|
||||||
|
Loading…
Reference in New Issue
Block a user