Skip to content

Commit

Permalink
disable course indexing on course import
Browse files Browse the repository at this point in the history
  • Loading branch information
regisb committed Oct 31, 2024
1 parent 7bab2ac commit c996f3b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tutor/commands/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,13 @@ def importdemocourse(
python ./manage.py cms import ../data "$course_root"
# Re-index courses
./manage.py cms reindex_course --all --setup"""
# TODO this is no longer compatible with meilisearch indexing. That is, until this PR is merged:
# https://github.com/openedx/edx-platform/pull/35743
# Anyway, it doesn't make much sense to reindex *all* courses after a single one has
# been created. Thus we should # rely on course authors to press the "reindex" button in
# the studio after the course has # been imported.
#./manage.py cms reindex_course --all --setup
"""
yield ("cms", template)


Expand Down

0 comments on commit c996f3b

Please sign in to comment.