feat: add manage.py backward compatible script
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2191>
This commit is contained in:
parent
6f2ecf832c
commit
5356e9f268
|
@ -0,0 +1,15 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import warnings
|
||||||
|
|
||||||
|
from funkwhale_api.main import main
|
||||||
|
|
||||||
|
warnings.warn(
|
||||||
|
DeprecationWarning(
|
||||||
|
"the './manage.py' script has been deprecated, please use the 'funkwhale-manage' "
|
||||||
|
"entrypoint instead (e.g. 'funkwhale-manage migrate')"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
SystemExit(main())
|
|
@ -0,0 +1 @@
|
||||||
|
Deprecate the api manage.py script in favor of the funkwhale-manage entrypoint
|
Loading…
Reference in New Issue