Browse Source

lost files added

master
Benni Baermann 4 years ago
parent
commit
4e6f36048d
3 changed files with 31 additions and 0 deletions
  1. +7
    -0
      input/forms.py
  2. +23
    -0
      input/migrations/0002_auto_20200922_1340.py
  3. +1
    -0
      input/templates/input/project.html

+ 7
- 0
input/forms.py View 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
- 0
input/migrations/0002_auto_20200922_1340.py View 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
- 0
input/templates/input/project.html View File

@ -0,0 +1 @@
{{formset}}

Loading…
Cancel
Save