0001_initial.py 824 Bytes
Newer Older
Arnaud Fabre's avatar
clean  
Arnaud Fabre committed
1
2
3
4
5
6
7
8
9
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

    dependencies = [
10
        ('representatives', '0003_auto_20150702_1827'),
Arnaud Fabre's avatar
clean  
Arnaud Fabre committed
11
12
13
14
15
16
    ]

    operations = [
        migrations.CreateModel(
            name='MemopolRepresentative',
            fields=[
17
                ('representative_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='representatives.Representative')),
Arnaud Fabre's avatar
clean  
Arnaud Fabre committed
18
19
20
                ('score', models.IntegerField(default=0)),
                ('country', models.ForeignKey(to='representatives.Country', null=True)),
            ],
21
22
23
24
            options={
                'abstract': False,
            },
            bases=('representatives.representative',),
Arnaud Fabre's avatar
clean  
Arnaud Fabre committed
25
26
        ),
    ]