Before this commit, we had to do a separate query for every course a user was enrolled in when determining whether a course was refundable (if you have a certificate, it isn't). Now the student dashboard will make a one-time query to grab all of a user's cert-issued courses. This is indexed, so it should be much faster than grabbing each one separately.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
__init__.py | Loading commit data... | |
factories.py | Loading commit data... | |
test_api.py | Loading commit data... | |
test_cert_management.py | Loading commit data... | |
test_create_fake_cert.py | Loading commit data... | |
test_models.py | Loading commit data... | |
test_queue.py | Loading commit data... | |
test_signals.py | Loading commit data... | |
test_support_views.py | Loading commit data... | |
test_views.py | Loading commit data... | |
test_webview_views.py | Loading commit data... | |
tests.py | Loading commit data... |