weblate/ci/migrate-scripts/setup-languages.py
Michal Čihař 3d1f813e6e chore: split out migration testing scripts
This makes the code easier to read and possible to lint for obvious
errors.
2026-02-13 16:20:25 +01:00

9 lines
217 B
Python

# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
"""Cleanup languages for fixture import."""
from weblate.lang.models import Language
Language.objects.all().delete()