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:
16
content/migrations/0022_plain_math_messages_again.py
Normal file
16
content/migrations/0022_plain_math_messages_again.py
Normal 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)]
|
||||
Reference in New Issue
Block a user