mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-13 22:26:01 +00:00
Nice display for elections
This commit is contained in:
1 parent
52e69b0ac1
commit
c604282b77
7 files changed
+92
-15
No files matched your search
@@ -0,0 +1,25 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
from django.conf import settings
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
('election', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='candidature',
|
||||
name='has_voted',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='role',
|
||||
name='has_voted',
|
||||
field=models.ManyToManyField(to=settings.AUTH_USER_MODEL, related_name='has_voted', verbose_name='has voted'),
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user