Add Feedback code
This commit is contained in:
parent
875c2c63d5
commit
c43f3612e3
9 changed files with 149 additions and 11 deletions
25
contact/migrations/0001_initial.py
Normal file
25
contact/migrations/0001_initial.py
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Generated by Django 5.1.4 on 2025-02-02 19:12
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Feedback',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('name', models.CharField(max_length=150, verbose_name='Name')),
|
||||
('email', models.EmailField(max_length=150, verbose_name='E-mail')),
|
||||
('date', models.DateTimeField(auto_now_add=True, verbose_name='Sended')),
|
||||
('subject', models.CharField(max_length=150, verbose_name='Subject')),
|
||||
('message', models.TextField(verbose_name='Message')),
|
||||
],
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue