mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
A failed run kept the error as English text and the schedule page passed the whole sentence to gettext, which found no catalog entry once values were filled in. The run now keeps the error as messages (text and values), as jobs do, and the page shows them with the new words filter.
13 lines
456 B
Python
13 lines
456 B
Python
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
"""A run's note becomes messages, shown in the reader's language; the
|
|
English notes of earlier runs are dropped."""
|
|
|
|
dependencies = [("vmbackups", "0005_owners")]
|
|
|
|
operations = [
|
|
migrations.RemoveField(model_name="backuprun", name="note"),
|
|
migrations.AddField(model_name="backuprun", name="note", field=models.JSONField(default=list)),
|
|
]
|