summaryrefslogtreecommitdiff
path: root/app/people/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-03-07 10:31:15 -0600
committerluxagraf <sng@luxagraf.net>2018-03-07 10:31:15 -0600
commitce9c1a25a2872979b969c64f804529d200a8c0ad (patch)
tree809ba96e13ff51c45d8d9f46e6700b1fe4f82b09 /app/people/migrations
parent875e1a8c87ea0825653684068810987c78c94857 (diff)
added a people app as per derek sivers' suggestion
Diffstat (limited to 'app/people/migrations')
-rw-r--r--app/people/migrations/0001_initial.py42
-rw-r--r--app/people/migrations/__init__.py0
2 files changed, 42 insertions, 0 deletions
diff --git a/app/people/migrations/0001_initial.py b/app/people/migrations/0001_initial.py
new file mode 100644
index 0000000..9174f3f
--- /dev/null
+++ b/app/people/migrations/0001_initial.py
@@ -0,0 +1,42 @@
+# Generated by Django 2.0.1 on 2018-03-07 10:27
+
+from django.db import migrations, models
+import django.db.models.deletion
+import taggit.managers
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ ('locations', '0003_auto_20180307_1027'),
+ ('taggit', '0002_auto_20150616_2121'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Person',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('first_name', models.CharField(max_length=200)),
+ ('last_name', models.CharField(max_length=200)),
+ ('email', models.EmailField(blank=True, max_length=120, null=True)),
+ ('street', models.CharField(blank=True, max_length=355, null=True)),
+ ('city', models.CharField(blank=True, max_length=200, null=True)),
+ ('state', models.CharField(blank=True, max_length=200, null=True)),
+ ('postal_code', models.CharField(blank=True, max_length=20, null=True)),
+ ('country', models.CharField(max_length=200, null=True)),
+ ('phone', models.CharField(blank=True, max_length=22, null=True)),
+ ('slug', models.CharField(max_length=50)),
+ ('body_markdown', models.TextField(blank=True, null=True)),
+ ('body_html', models.TextField(blank=True, null=True)),
+ ('next_contact_date', models.DateField(blank=True, null=True)),
+ ('location_met', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')),
+ ('tags', taggit.managers.TaggableManager(blank=True, help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')),
+ ],
+ options={
+ 'ordering': ('-last_name',),
+ },
+ ),
+ ]
diff --git a/app/people/migrations/__init__.py b/app/people/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/app/people/migrations/__init__.py