diff -r d029bf4a0b2b -r e7c887d93039 server/ammicosrv/authentication/migrations/0001_initial.py --- a/server/ammicosrv/authentication/migrations/0001_initial.py Wed Jun 10 12:56:23 2015 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,42 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import models, migrations -from django.conf import settings -import django.utils.timezone - - -class Migration(migrations.Migration): - - dependencies = [ - ] - - operations = [ - migrations.CreateModel( - name='AmmicoUser', - fields=[ - ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)), - ('password', models.CharField(max_length=128, verbose_name='password')), - ('last_login', models.DateTimeField(verbose_name='last login', blank=True, null=True)), - ('email', models.EmailField(max_length=255, unique=True, verbose_name='email address')), - ('idUser', models.IntegerField(verbose_name='identifiant utilisateur', null=True, blank=True)), - ('is_active', models.BooleanField(default=True)), - ('is_admin', models.BooleanField(default=False)), - ], - options={ - 'abstract': False, - }, - bases=(models.Model,), - ), - migrations.CreateModel( - name='Profile', - fields=[ - ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)), - ('image', models.URLField(max_length=2048, blank=True)), - ('user', models.OneToOneField(to=settings.AUTH_USER_MODEL)), - ], - options={ - }, - bases=(models.Model,), - ), - ]