Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('representatives_votes', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='MemopolDossier',
fields=[
('dossier_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='representatives_votes.Dossier')),
('name', models.CharField(max_length=1000)),
('description', models.TextField(blank=True)),
],
options={
},
bases=('representatives_votes.dossier',),
),
migrations.CreateModel(
name='Recommendation',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('recommendation', models.CharField(max_length=10, choices=[(b'abstain', b'abstain'), (b'for', b'for'), (b'against', b'against')])),
('title', models.CharField(max_length=1000, blank=True)),
('description', models.TextField(blank=True)),
('weight', models.IntegerField(default=0)),
('proposal', models.OneToOneField(related_name='recommendation', to='representatives_votes.Proposal')),
],
options={
},
bases=(models.Model,),
),
migrations.CreateModel(
name='MemopolVote',
fields=[
],
options={
'proxy': True,
},
bases=('representatives_votes.vote',),
),
]