Let notify_credentials get args from db
To allow the notify_credentials management command to run from a jenkins job, we want to allow the command to pull its arguments from the database, rather than the jenkins interface. So this adds a table that admins can adjust in the DB and a new argument for notify_credentials to tell it to go look there. LEARNER-6196 LEARNER-6197
Showing
- openedx/core/djangoapps/credentials/admin.py 5 additions, 2 deletionsopenedx/core/djangoapps/credentials/admin.py
- openedx/core/djangoapps/credentials/management/commands/notify_credentials.py 21 additions, 0 deletions...pps/credentials/management/commands/notify_credentials.py
- openedx/core/djangoapps/credentials/management/commands/tests/test_notify_credentials.py 28 additions, 0 deletions...ials/management/commands/tests/test_notify_credentials.py
- openedx/core/djangoapps/credentials/migrations/0004_notifycredentialsconfig.py 31 additions, 0 deletions...ps/credentials/migrations/0004_notifycredentialsconfig.py
- openedx/core/djangoapps/credentials/models.py 19 additions, 0 deletionsopenedx/core/djangoapps/credentials/models.py
Please register or sign in to comment