소스 검색

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.