--- /dev/null
+# Generated by Django 3.2.25 on 2025-07-01 18:36
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('webclass', '0011_webclassrecord_professor'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='webclassrecord',
+ name='status',
+ field=models.IntegerField(choices=[(2, 'Draft'), (3, 'Public')], default=2, verbose_name='status'),
+ ),
+ ]
room_id = models.CharField(
'id de la conférence BBB (généré automatiquement)', blank=True, null=True, max_length=255, unique=True)
professor = models.ForeignKey('teleforma.Professor', related_name='webclass_records', verbose_name=_('professor'), on_delete=models.SET_NULL, blank=True, null=True)
+ status = models.IntegerField(
+ _('status'), choices=STATUS_CHOICES, default=2)
WEBCLASS = 'WC'
<table class="listing" width="100%">
<tbody>
{% for record in webclass_corrections_records %}
- {% webclass_record record %}
+ {% if record.status == 3 %}
+ {% webclass_record record %}
+ {% endif %}
{% endfor %}
</tbody>
</table>