]> git.parisson.com Git - mezzo.git/commitdiff
add event description trans
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Sun, 3 Apr 2016 22:44:05 +0000 (00:44 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Sun, 3 Apr 2016 22:44:22 +0000 (00:44 +0200)
app/migrations/mezzanine_agenda/0005_auto_20160404_0043.py [new file with mode: 0644]
app/translations.py

diff --git a/app/migrations/mezzanine_agenda/0005_auto_20160404_0043.py b/app/migrations/mezzanine_agenda/0005_auto_20160404_0043.py
new file mode 100644 (file)
index 0000000..2d6da8c
--- /dev/null
@@ -0,0 +1,25 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.2 on 2016-04-03 22:43
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('mezzanine_agenda', '0004_auto_20160331_1832'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='event',
+            name='description_en',
+            field=models.TextField(blank=True, null=True, verbose_name='Description'),
+        ),
+        migrations.AddField(
+            model_name='event',
+            name='description_fr',
+            field=models.TextField(blank=True, null=True, verbose_name='Description'),
+        ),
+    ]
index e625b9beaa391b818d26f5f059ae5037b61c35b5..77a8844063739c12a571a6c86f4386bc768578e4 100644 (file)
@@ -7,7 +7,7 @@ from festival.models import *
 @register(Event)
 class EventTranslationOptions(TranslationOptions):
 
-    fields = ('title', 'content')
+    fields = ('title', 'description', 'content')
 
 
 @register(Artist)