1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-25 03:30:30 +02:00

Ajout d'un champ club au modèle Bus pour faciliter la gestion des bus

This commit is contained in:
Ehouarn
2025-05-29 20:16:43 +02:00
parent 02453e07ba
commit 70a57bf02d
4 changed files with 350 additions and 3 deletions

View File

@ -0,0 +1,20 @@
# Generated by Django 4.2.21 on 2025-05-29 16:16
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('member', '0014_create_bda'),
('wei', '0011_alter_weiclub_year'),
]
operations = [
migrations.AddField(
model_name='bus',
name='club',
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='bus', to='member.club', verbose_name='club'),
),
]