Tutor/answers: bare subscripts (S_n, a_1) become Unicode; migration 0022 re-cleans DB text

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-12 12:18:46 +03:30
parent e662914efc
commit b075b93f2a
5 changed files with 31 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
"""
0021 پیش از تکمیلِ تبدیل (اندیسِ ساده‌ی S_n، a_1) اجرا شد؛ پیام‌های دستیار و متنِ سوال/درس را با نسخه‌ی کامل دوباره
می‌گذراند. همان تبدیل، idempotent. `0021.forwards` عیناً دوباره اجرا می‌شود (تکراریِ سوال را هم پاک می‌کند).
"""
import importlib
from django.db import migrations
def forwards(apps, schema_editor):
importlib.import_module('content.migrations.0021_plain_math_everywhere').forwards(apps, schema_editor)
class Migration(migrations.Migration):
dependencies = [('content', '0021_plain_math_everywhere')]
operations = [migrations.RunPython(forwards, migrations.RunPython.noop)]