edx-platform
edx-platform copied to clipboard
Follow-up to PR 36789
Description
This is a follow-up to openedx/edx-platform#36789 — refactor(certificates): replace direct model imports with data classes and APIs. The original PR moved certificate usage toward APIs and data classes instead of importing models directly, but additional adjustments were required to ensure consistency and correct behavior across all affected modules.
This PR includes the necessary changes to continue addressing review feedback and fixing tests.