
Adding basic template and login system. Change-Id: I747a417fe6f821964c9fb708d69acc9538567c4c Signed-off-by: Paarhati Ozkasgarli <ozkasgarli@gmail.com>
30 lines
955 B
Python
30 lines
955 B
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.10.3 on 2016-11-22 20:26
|
|
from __future__ import unicode_literals
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Profile',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('avatar', models.TextField(blank=True, max_length=500)),
|
|
('provider_password', models.CharField(max_length=50)),
|
|
('selected_provider', models.IntegerField()),
|
|
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
|
],
|
|
),
|
|
]
|