forked from DGNum/gestioCOF
add event subscriptions (models only)
This commit is contained in:
parent
730611039b
commit
41a3c4c161
2 changed files with 26 additions and 2 deletions
22
events/migrations/0002_event_subscribers.py
Normal file
22
events/migrations/0002_event_subscribers.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Generated by Django 2.2.6 on 2019-10-05 13:03
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
("events", "0001_event"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="event",
|
||||
name="subscribers",
|
||||
field=models.ManyToManyField(
|
||||
to=settings.AUTH_USER_MODEL, verbose_name="inscrit⋅e⋅s"
|
||||
),
|
||||
)
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue