Django update.
[redakcja.git] / src / apiclient / migrations / 0001_initial.py
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from django.db import models, migrations
5 from django.conf import settings
6
7
8 class Migration(migrations.Migration):
9
10     dependencies = [
11         migrations.swappable_dependency(settings.AUTH_USER_MODEL),
12     ]
13
14     operations = [
15         migrations.CreateModel(
16             name='OAuthConnection',
17             fields=[
18                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
19                 ('access', models.BooleanField(default=False)),
20                 ('token', models.CharField(max_length=64, null=True, blank=True)),
21                 ('token_secret', models.CharField(max_length=64, null=True, blank=True)),
22                 ('beta', models.BooleanField(default=False)),
23                 ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL)),
24             ],
25             options={
26             },
27             bases=(models.Model,),
28         ),
29     ]