1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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',),
},
),
]
|