add example import

manage-py-reference
Ciarán Ainsworth 2022-04-26 13:19:40 +02:00
rodzic 380858dfb2
commit 38b0de021c
2 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,7 @@
# Management script reference
```{eval-rst}
.. automethod:: cli.users.create
```

Wyświetl plik

@ -24,6 +24,7 @@ import subprocess
sys.path.insert(0, os.path.abspath("../api"))
sys.path.insert(0, os.path.abspath("../api/config"))
sys.path.append(os.path.abspath("../api/funkwhale_api/cli"))
import funkwhale_api # NOQA