summaryrefslogtreecommitdiff
path: root/taskapp/forms/task.py
blob: c185164a7a01b528362ea383e3c71849434ba58d (plain)
1
2
3
4
5
6
7
8
from django import forms
from pytask.taskapp.models import Task

class TaskCreateForm(forms.ModelForm):
    class Meta:
        model = Task
        fields = ['title', 'desc', 'tags', 'credits']
    publish = forms.BooleanField(required=False)