29 lines
750 B
Python
29 lines
750 B
Python
# Generated by Django 4.2 on 2024-02-10 13:11
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("profiles", "0003_trainergymnast"),
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
(
|
|
"people",
|
|
"0010_gymnast_cleaned_first_name_gymnast_cleaned_last_name_and_more",
|
|
),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="gymnast",
|
|
name="trainers",
|
|
field=models.ManyToManyField(
|
|
related_name="gymnasts",
|
|
through="profiles.TrainerGymnast",
|
|
to=settings.AUTH_USER_MODEL,
|
|
),
|
|
),
|
|
]
|