0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 13:10:14 +01:00

Fix minor duplicate word typos

This commit is contained in:
LB Johnston 2024-01-25 06:48:58 +10:00 committed by LB (Ben Johnston)
parent ced2214291
commit 54802abcc4
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ describe('gettextNoop', () => {
}); });
describe('pluralIdx', () => { describe('pluralIdx', () => {
it('should return false if if Django pluralidx is not loaded', () => { it('should return false if Django pluralidx is not loaded', () => {
expect(pluralIdx(3)).toEqual(false); expect(pluralIdx(3)).toEqual(false);
}); });

View File

@ -62,7 +62,7 @@ def create_default_workflows(apps, schema_editor):
) )
task.groups.set(groups) task.groups.set(groups)
# get a Workflow containing only this task if if exists, otherwise create it # get a Workflow containing only this task if it exists, otherwise create it
workflow = ( workflow = (
Workflow.objects.annotate(task_number=Count("workflow_tasks")) Workflow.objects.annotate(task_number=Count("workflow_tasks"))
.filter(task_number=1) .filter(task_number=1)