update bug1.0
CI / test (pull_request) Successful in 3m8s
PR合并自动部署 / release-check (pull_request) Successful in 1m31s
PR合并自动部署 / deploy (pull_request) Failing after 10s

This commit is contained in:
2026-08-09 03:29:50 +08:00
parent 6dc9052219
commit 9f1872c558
23 changed files with 313 additions and 17 deletions
@@ -134,7 +134,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
docs = Path(settings.PROJECT_ROOT) / "docs"
mathbti_path = docs / "old_scripts" / "seed_mathbti.json"
story_path = docs / "数学少年线_story.json"
story_path = docs / "信仰者线_story.json"
videos_path = docs / "old_scripts" / "seed_videos.json"
if not mathbti_path.exists() or not story_path.exists() or not videos_path.exists():
raise CommandError("缺少 docs 中的初始内容文件")
@@ -167,7 +167,7 @@ class Command(BaseCommand):
if errors:
raise CommandError("; ".join(errors))
flagship, _ = Story.objects.update_or_create(
slug="believer-math-teen",
slug="believer",
defaults={
"title": story_document["title"],
"summary": story_document.get("description", ""),