See #152: added management command to execute one-time migration scripts
Showing
- api/funkwhale_api/common/management/__init__.py 0 additions, 0 deletionsapi/funkwhale_api/common/management/__init__.py
- api/funkwhale_api/common/management/commands/__init__.py 0 additions, 0 deletionsapi/funkwhale_api/common/management/commands/__init__.py
- api/funkwhale_api/common/management/commands/script.py 66 additions, 0 deletionsapi/funkwhale_api/common/management/commands/script.py
- api/funkwhale_api/common/scripts/__init__.py 2 additions, 0 deletionsapi/funkwhale_api/common/scripts/__init__.py
- api/funkwhale_api/common/scripts/django_permissions_to_user_permissions.py 29 additions, 0 deletions.../common/scripts/django_permissions_to_user_permissions.py
- api/funkwhale_api/common/scripts/test.py 8 additions, 0 deletionsapi/funkwhale_api/common/scripts/test.py
- api/funkwhale_api/users/admin.py 14 additions, 3 deletionsapi/funkwhale_api/users/admin.py
- api/funkwhale_api/users/factories.py 27 additions, 1 deletionapi/funkwhale_api/users/factories.py
- api/tests/common/test_scripts.py 56 additions, 0 deletionsapi/tests/common/test_scripts.py
api/funkwhale_api/common/scripts/__init__.py
0 → 100644
api/funkwhale_api/common/scripts/test.py
0 → 100644
api/tests/common/test_scripts.py
0 → 100644
Please register or sign in to comment