dynamicweb/digital_glarus/migrations/0001_initial.py
Nico Schottelius 5d1b26d4f7 add first view to digital.glarus
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
2015-05-02 17:15:20 +02:00

24 lines
749 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='Message',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, primary_key=True, auto_created=True)),
('name', models.CharField(max_length=200)),
('email', models.EmailField(max_length=254)),
('phone_number', models.CharField(max_length=200)),
('message', models.TextField()),
('received_date', models.DateTimeField(verbose_name='date received')),
],
),
]