Skip to content
Snippets Groups Projects
Select Git revision
  • ac67eba694e1f91727c2961ef10a3d0ec1f796bd
  • main default protected
  • renovate/jsonschema-4.x
  • renovate/django-5.x
  • koma/feature/preference-polling-form
5 results

0001_virtualroom_new.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    0001_virtualroom_new.py 1.05 KiB
    # Generated by Django 4.1.5 on 2023-03-22 12:22
    
    from django.db import migrations, models
    import django.db.models.deletion
    
    
    class Migration(migrations.Migration):
    
        replaces = [('AKOnline', '0001_AKOnline'), ('AKOnline', '0002_rework_virtual'), ('AKOnline', '0003_rework_virtual_2'), ('AKOnline', '0004_rework_virtual_3'), ('AKOnline', '0005_rework_virtual_4')]
    
        initial = True
    
        dependencies = [
            ('AKModel', '0033_AKOnline'),
            ('AKModel', '0057_upgrades'),
        ]
    
        operations = [
            migrations.CreateModel(
                name='VirtualRoom',
                fields=[
                    ('room', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, related_name='virtual', serialize=False, to='AKModel.room', verbose_name='Room')),
                    ('url', models.URLField(blank=True, help_text='URL to the room or server', verbose_name='URL')),
                ],
                options={
                    'verbose_name': 'Virtual Room',
                    'verbose_name_plural': 'Virtual Rooms',
                },
            ),
        ]