diff options
Diffstat (limited to 'python/projects/forms.py')
-rw-r--r-- | python/projects/forms.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python/projects/forms.py b/python/projects/forms.py new file mode 100644 index 0000000..7c96ffe --- /dev/null +++ b/python/projects/forms.py @@ -0,0 +1,7 @@ +from django import forms +from .models import Projects + +class NewProjectForm(forms.ModelForm): + class Meta: + model = Projects + fields = ['name', 'title', 'description', 'text', 'active', 'status', 'public'] |