mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-05-17 11:11:49 +02:00
23 lines
705 B
Python
23 lines
705 B
Python
from django.db import migrations, models
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("order", "0029_set_phone_mandatory_for_existing_orders"),
|
|
("lieu", "0001_initial"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="groupedorder",
|
|
name="placekey",
|
|
field=models.ManyToManyField(
|
|
verbose_name="Lieu de distribution",
|
|
to="lieu.lieu",
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name="order",
|
|
name="placekey",
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=models.deletion.CASCADE, to='lieu.lieu'),
|
|
),
|
|
]
|