aboutsummaryrefslogtreecommitdiff
path: root/app/dispatchAuth/migrations
diff options
context:
space:
mode:
authorMitch Riedstra <Mitch@riedstra.us>2017-11-02 16:03:14 -0400
committerMitch Riedstra <Mitch@riedstra.us>2017-11-02 16:03:14 -0400
commite16fa08b915562c6ab77ce7bb79a9d766b5a4036 (patch)
tree2f7d518131600f2db7bc3ac0545f11f2571c2aee /app/dispatchAuth/migrations
parente4d865b1a61f6a72551e70abad78c6c35b9345e7 (diff)
downloaddispatch-tracker-e16fa08b915562c6ab77ce7bb79a9d766b5a4036.tar.gz
dispatch-tracker-e16fa08b915562c6ab77ce7bb79a9d766b5a4036.tar.xz
Initial setup to use a custom User model, I still need to figure out how to use the built in Django permissions though
Diffstat (limited to 'app/dispatchAuth/migrations')
-rw-r--r--app/dispatchAuth/migrations/0001_initial.py35
-rw-r--r--app/dispatchAuth/migrations/__init__.py0
2 files changed, 35 insertions, 0 deletions
diff --git a/app/dispatchAuth/migrations/0001_initial.py b/app/dispatchAuth/migrations/0001_initial.py
new file mode 100644
index 0000000..4a0f37c
--- /dev/null
+++ b/app/dispatchAuth/migrations/0001_initial.py
@@ -0,0 +1,35 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.5 on 2017-11-02 19:51
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ ('auth', '0008_alter_user_username_max_length'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='User',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('password', models.CharField(max_length=128, verbose_name='password')),
+ ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')),
+ ('email', models.EmailField(max_length=256, unique=True)),
+ ('first_name', models.CharField(max_length=256)),
+ ('last_name', models.CharField(max_length=256)),
+ ('is_active', models.BooleanField(default=True)),
+ ('is_superuser', models.BooleanField(default=False)),
+ ('groups', models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')),
+ ('user_permissions', models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')),
+ ],
+ options={
+ 'abstract': False,
+ },
+ ),
+ ]
diff --git a/app/dispatchAuth/migrations/__init__.py b/app/dispatchAuth/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/app/dispatchAuth/migrations/__init__.py