lost files added
This commit is contained in:
parent
fe727f7fbe
commit
4e6f36048d
3 changed files with 31 additions and 0 deletions
7
input/forms.py
Normal file
7
input/forms.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
from django.db import models
|
||||
from django.forms import ModelForm
|
||||
|
||||
class ProjectForm(ModelForm):
|
||||
class Meta:
|
||||
model = Project
|
||||
fields = '__all__'
|
23
input/migrations/0002_auto_20200922_1340.py
Normal file
23
input/migrations/0002_auto_20200922_1340.py
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Generated by Django 3.1.1 on 2020-09-22 13:40
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('input', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='project',
|
||||
old_name='project_name',
|
||||
new_name='name',
|
||||
),
|
||||
migrations.RenameField(
|
||||
model_name='project',
|
||||
old_name='project_start',
|
||||
new_name='start',
|
||||
),
|
||||
]
|
1
input/templates/input/project.html
Normal file
1
input/templates/input/project.html
Normal file
|
@ -0,0 +1 @@
|
|||
{{formset}}
|
Loading…
Reference in a new issue