Skip to content

Commit 06cb0fa

Browse files
Merge branch 'master' into issue-35276-unpin-django-webpack-loader
2 parents a7bd47a + 9750c63 commit 06cb0fa

File tree

7 files changed

+33
-5
lines changed

7 files changed

+33
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 4.2.20 on 2025-05-15 03:30
2+
3+
from django.db import migrations
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('coursewarehistoryextended', '0002_force_studentmodule_index'),
10+
]
11+
12+
operations = [
13+
migrations.RenameIndex(
14+
model_name='studentmodulehistoryextended',
15+
new_name='student_module_idx',
16+
old_fields=('student_module',),
17+
),
18+
]

lms/djangoapps/coursewarehistoryextended/models.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@ class StudentModuleHistoryExtended(BaseStudentModuleHistory):
3333
class Meta:
3434
app_label = 'coursewarehistoryextended'
3535
get_latest_by = "created"
36-
index_together = ['student_module']
36+
indexes = [
37+
models.Index(
38+
fields=['student_module'],
39+
name="student_module_idx"
40+
),
41+
]
3742

3843
id = UnsignedBigIntAutoField(primary_key=True) # pylint: disable=invalid-name
3944

lms/static/js/student_account/views/FinishAuthView.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@
6868
this.purchaseWorkflow = queryParams.purchaseWorkflow;
6969
if (queryParams.next) {
7070
// Ensure that the next URL is internal for security reasons
71+
this.updateTaskDescription(gettext("query param next is provide"));
7172
if (!window.isExternal(queryParams.next)) {
73+
this.updateTaskDescription(gettext("query param next is internal"));
7274
this.nextUrl = queryParams.next;
7375
}
7476
}
@@ -135,13 +137,15 @@
135137
The track selection page would allow the user to select the course mode
136138
("verified", "honor", etc.) -- or, if the only course mode was "honor",
137139
it would redirect the user to the dashboard. */
140+
this.updateTaskDescription(gettext("course mode param is not provided"));
138141
redirectUrl = this.appendPurchaseWorkflow(this.urls.trackSelection + courseId + '/');
139142
} else if (this.courseMode === 'honor' || this.courseMode === 'audit') {
140143
/* The newer version of the course details page allows the user
141144
to specify which course mode to enroll as. If the student has
142145
chosen "honor", we send them immediately to the next URL
143146
rather than the payment flow. The user may decide to upgrade
144147
from the dashboard later. */
148+
this.updateTaskDescription(gettext("course mode param is provided"));
145149
} else {
146150
/* If the user selected any other kind of course mode, send them
147151
to the payment/verification flow. */
@@ -160,6 +164,7 @@
160164
shoppingCartInterface.addCourseToCart(this.courseId);
161165
} else {
162166
// Otherwise, redirect the user to the next page.
167+
this.updateTaskDescription(gettext(" redirect the user to the next page"));
163168
this.redirect(redirectUrl);
164169
}
165170
},

requirements/edx/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ django-mptt==0.17.0
303303
# via
304304
# -r requirements/edx/kernel.in
305305
# openedx-django-wiki
306-
django-multi-email-field==0.7.0
306+
django-multi-email-field==0.8.0
307307
# via edx-enterprise
308308
django-mysql==4.16.0
309309
# via -r requirements/edx/kernel.in

requirements/edx/development.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ django-mptt==0.17.0
506506
# -r requirements/edx/doc.txt
507507
# -r requirements/edx/testing.txt
508508
# openedx-django-wiki
509-
django-multi-email-field==0.7.0
509+
django-multi-email-field==0.8.0
510510
# via
511511
# -r requirements/edx/doc.txt
512512
# -r requirements/edx/testing.txt

requirements/edx/doc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ django-mptt==0.17.0
369369
# via
370370
# -r requirements/edx/base.txt
371371
# openedx-django-wiki
372-
django-multi-email-field==0.7.0
372+
django-multi-email-field==0.8.0
373373
# via
374374
# -r requirements/edx/base.txt
375375
# edx-enterprise

requirements/edx/testing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ django-mptt==0.17.0
399399
# via
400400
# -r requirements/edx/base.txt
401401
# openedx-django-wiki
402-
django-multi-email-field==0.7.0
402+
django-multi-email-field==0.8.0
403403
# via
404404
# -r requirements/edx/base.txt
405405
# edx-enterprise

0 commit comments

Comments
 (0)