EvilLogitech/python-project-52

View on GitHub
task_manager/tasks/forms.py

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
from django import forms
from .models import Task


class TaskForm(forms.ModelForm):

    class Meta:
        model = Task
        fields = [
            'name',
            'description',
            'executor',
            'status',
            'labels'
        ]