cd234c4dda
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
24 lines
749 B
Python
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')),
|
|
],
|
|
),
|
|
]
|