Revert "Revert "This stage does the following: (#22692)""
This reverts commit 84de6bc6 which reverts commit cebeab43 which implements the first stage of the `values` column rename in SiteConfiguration. However, I included a small change: This time, we set a default value on the new `site_values` column so that the ORM will happily deserialize the JSONField without throwing a JSONDecodeError.
Showing
- lms/djangoapps/discussion/tests/test_signals.py 6 additions, 2 deletionslms/djangoapps/discussion/tests/test_signals.py
- lms/djangoapps/instructor/tests/views/test_instructor_dashboard.py 12 additions, 2 deletions...oapps/instructor/tests/views/test_instructor_dashboard.py
- openedx/core/djangoapps/ace_common/tests/test_tracking.py 3 additions, 0 deletionsopenedx/core/djangoapps/ace_common/tests/test_tracking.py
- openedx/core/djangoapps/catalog/views.py 1 addition, 0 deletionsopenedx/core/djangoapps/catalog/views.py
- openedx/core/djangoapps/credentials/management/commands/tests/test_notify_credentials.py 1 addition, 0 deletions...ials/management/commands/tests/test_notify_credentials.py
- openedx/core/djangoapps/credentials/tests/test_signals.py 1 addition, 0 deletionsopenedx/core/djangoapps/credentials/tests/test_signals.py
- openedx/core/djangoapps/programs/tests/test_signals.py 1 addition, 0 deletionsopenedx/core/djangoapps/programs/tests/test_signals.py
- openedx/core/djangoapps/schedules/management/commands/tests/send_email_base.py 8 additions, 2 deletions...ps/schedules/management/commands/tests/send_email_base.py
- openedx/core/djangoapps/schedules/tests/test_resolvers.py 1 addition, 0 deletionsopenedx/core/djangoapps/schedules/tests/test_resolvers.py
- openedx/core/djangoapps/site_configuration/management/commands/create_or_update_site_configuration.py 4 additions, 0 deletions...anagement/commands/create_or_update_site_configuration.py
- openedx/core/djangoapps/site_configuration/migrations/0004_add_site_values_field.py 28 additions, 0 deletions...te_configuration/migrations/0004_add_site_values_field.py
- openedx/core/djangoapps/site_configuration/models.py 21 additions, 2 deletionsopenedx/core/djangoapps/site_configuration/models.py
- openedx/core/djangoapps/site_configuration/tests/mixins.py 25 additions, 17 deletionsopenedx/core/djangoapps/site_configuration/tests/mixins.py
- openedx/core/djangoapps/site_configuration/tests/test_middleware.py 6 additions, 0 deletions...re/djangoapps/site_configuration/tests/test_middleware.py
- openedx/core/djangoapps/site_configuration/tests/test_models.py 22 additions, 0 deletions...x/core/djangoapps/site_configuration/tests/test_models.py
- openedx/core/djangoapps/site_configuration/tests/test_util.py 4 additions, 2 deletions...edx/core/djangoapps/site_configuration/tests/test_util.py
- openedx/core/djangoapps/theming/management/commands/create_sites_and_configurations.py 6 additions, 1 deletion...ng/management/commands/create_sites_and_configurations.py
- openedx/core/djangoapps/user_api/management/tests/test_sync_hubspot_contacts.py 1 addition, 0 deletions...s/user_api/management/tests/test_sync_hubspot_contacts.py
- openedx/features/content_type_gating/tests/test_models.py 24 additions, 6 deletionsopenedx/features/content_type_gating/tests/test_models.py
- openedx/features/course_duration_limits/tests/test_models.py 18 additions, 4 deletionsopenedx/features/course_duration_limits/tests/test_models.py
Please register or sign in to comment