parent
f8c1482ef8
commit
accdb60a8c
9 changed files with 231 additions and 2 deletions
30
app/contact/migrations/0001_initial.py
Normal file
30
app/contact/migrations/0001_initial.py
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Generated by Django 4.2.6 on 2023-10-22 09:59
|
||||
|
||||
from django.db import migrations, models
|
||||
import uuid
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Contact',
|
||||
fields=[
|
||||
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
||||
('name', models.CharField(blank=True, max_length=50, null=True, verbose_name='Kontakt Name')),
|
||||
('phone', models.CharField(blank=True, max_length=50, null=True, verbose_name='Telefon')),
|
||||
('email', models.CharField(blank=True, max_length=50, null=True, verbose_name='Email')),
|
||||
('address', models.CharField(blank=True, max_length=50, null=True, verbose_name='Adresse')),
|
||||
('comment', models.CharField(blank=True, max_length=50, null=True, verbose_name='Bemerkungen')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'Kontakt',
|
||||
'verbose_name_plural': 'Kontakte',
|
||||
},
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue