-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1869: Course program api performance improvements (#1872)
* This works but is just POC * Add department serializer and prefetch * improvement for courses API * program improvements * Fix course run serializer, migration, enrollment api * Add live filter to front end API call * Fix tests, format, add filtering to front end query * select related course on course_run API * Javascript formatting * Fix serializers * Fix Course serializer * Format * py test passing * Format and repair tests * Clean up department serializer * Add class doc * Cleanup department serializer
- Loading branch information
1 parent
a0a9378
commit f16b217
Showing
21 changed files
with
172 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Generated by Django 3.2.20 on 2023-09-10 11:40 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("courses", "0042_add_ordering_to_course_and_program"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="course", | ||
name="live", | ||
field=models.BooleanField(db_index=True, default=False), | ||
), | ||
migrations.AlterField( | ||
model_name="program", | ||
name="live", | ||
field=models.BooleanField(db_index=True, default=False), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.