Separate init step for migrations shouldn't be necessary
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start with tutor-contrib-sample/tutorsample/plugin.py at lines 41–52 and inspect how the sample plugin is included in the normal Django migration flow. Remove the separate migration init steps if they are redundant, then verify that the sample plugin migrations are picked up during the standard initialization without the extra 30+ seconds.
Written by the indexing model from the issue text.
Description
The code here introduces separate tutor ... do init steps for running Django migrations for the sample plugin. This shouldn't be necessary since the plugin is installed with the rest of the Django dependencies which get picked up and migrated automatically.
Not critical, but maybe confusing, and definitely slows init down by 30+ seconds to spin up the container and run the whole no-op migration path.
- Dominant language
- Python
- Stars
- 1
- Forks
- 4
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 8
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openedx/sample-plugin
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
openedx/sample-plugin#65 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 56/100
openedx/sample-plugin#51 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
openedx/sample-plugin#50 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
openedx/sample-plugin#33 ·
-
openedx/sample-plugin#30 · 1 assignee ·
All issues in openedx/sample-plugin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100