diff --git a/metrics/migrations/0015_metric_text_en.py b/metrics/migrations/0015_metric_text_en.py new file mode 100644 index 0000000..bdcad6c --- /dev/null +++ b/metrics/migrations/0015_metric_text_en.py @@ -0,0 +1,18 @@ +# Generated by Django 5.1.1 on 2024-12-03 15:55 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('metrics', '0014_activity_area_responsible'), + ] + + operations = [ + migrations.AddField( + model_name='metric', + name='text_en', + field=models.CharField(blank=True, default='', max_length=420), + ), + ] diff --git a/metrics/models.py b/metrics/models.py index 235fde0..e438210 100644 --- a/metrics/models.py +++ b/metrics/models.py @@ -78,6 +78,7 @@ def clean(self): class Metric(models.Model): text = models.CharField(max_length=420) + text_en = models.CharField(max_length=420, default="", blank=True) # Content metrics wikipedia_created = models.IntegerField(null=True, default=0)