]> git.parisson.com Git - teleforma.git/commitdiff
pick dev migration and fix
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 7 Jul 2021 16:54:15 +0000 (18:54 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 7 Jul 2021 16:54:15 +0000 (18:54 +0200)
teleforma/migrations/0007_auto_20210707_1715.py [new file with mode: 0644]
teleforma/models/crfpa.py

diff --git a/teleforma/migrations/0007_auto_20210707_1715.py b/teleforma/migrations/0007_auto_20210707_1715.py
new file mode 100644 (file)
index 0000000..76da145
--- /dev/null
@@ -0,0 +1,23 @@
+# Generated by Django 3.2.3 on 2021-07-07 17:15
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('teleforma', '0006_remove_document_conference'),
+    ]
+
+    operations = [
+        migrations.AddField(
+            model_name='streamingserver',
+            name='path',
+            field=models.CharField(blank=True, max_length=256, verbose_name='path'),
+        ),
+        migrations.AddField(
+            model_name='streamingserver',
+            name='protocol',
+            field=models.CharField(blank=True, max_length=16, verbose_name='protocol'),
+        ),
+    ]
index b5d2b014e08fc97dba76cb8a4481a7014cafc568..7f482a3fa9e64dd5d5a51c8770ced06f64483f63 100755 (executable)
@@ -361,6 +361,9 @@ class Corrector(models.Model):
         except:
             return ''
 
+    def get_absolute_url(self):
+        return reverse_lazy('teleforma-profile-detail', kwargs={'username': self.user.username})
+
     class Meta(MetaCore):
         db_table = app_label + '_' + 'corrector'
         verbose_name = _('Correcteur')