Travel model and form added
parent
4a315b8163
commit
5a014d4696
@ -0,0 +1,31 @@
|
||||
# Generated by Django 3.1.1 on 2020-10-26 10:35
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('input', '0023_auto_20201022_1400'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Travel',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('realname', models.CharField(max_length=200, null=True)),
|
||||
('email', models.CharField(max_length=200, null=True)),
|
||||
('username', models.CharField(max_length=200, null=True)),
|
||||
('granted', models.BooleanField(null=True)),
|
||||
('granted_date', models.DateField(null=True)),
|
||||
('survey_mail_send', models.BooleanField(null=True)),
|
||||
('request_url', models.CharField(max_length=2000)),
|
||||
('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='input.project')),
|
||||
],
|
||||
options={
|
||||
'abstract': False,
|
||||
},
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue