kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
feat: add manage.py backward compatible script
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2191>environments/review-docs-fix-b-0p3p4g/deployments/16281
rodzic
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
|
Ładowanie…
Reference in New Issue