Enregistre les votes pour des élections et des questions
This commit is contained in:
parent
1cafa2aedd
commit
c7e5d9ad6e
4 changed files with 62 additions and 2 deletions
21
elections/migrations/0007_election_voters.py
Normal file
21
elections/migrations/0007_election_voters.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Generated by Django 2.2.17 on 2020-12-24 00:18
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("elections", "0006_election_sent_mail"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="election",
|
||||
name="voters",
|
||||
field=models.ManyToManyField(
|
||||
related_name="cast_elections", to=settings.AUTH_USER_MODEL
|
||||
),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue