Преглед на файлове

Added reports CLI documentation

Jeremy Stretch преди 8 години
родител
ревизия
bb898b719f
променени са 1 файла, в които са добавени 10 реда и са изтрити 0 реда
  1. 10 0
      docs/miscellaneous/reports.md

+ 10 - 0
docs/miscellaneous/reports.md

@@ -117,3 +117,13 @@ Our example report above would be called as:
 ```
     POST /api/extras/reports/devices.DeviceConnectionsReport/run/
 ```
+
+### Via the CLI
+
+Reports can be run on the CLI by invoking the management command:
+
+```
+python3 manage.py runreport <module>
+```
+
+One or more report modules may be specified.