pytask/taskapp/forms/task.py
changeset 11 d28fcc644fbb
parent 5 aea7e764c033
child 14 f2623fb8041a
equal deleted inserted replaced
10:c2001db39937 11:d28fcc644fbb
       
     1 from django import forms
       
     2 from pytask.taskapp.models import Task
       
     3 
       
     4 class TaskCreateForm(forms.ModelForm):
       
     5     class Meta:
       
     6         model = Task
       
     7         fields = ['title', 'desc', 'tags', 'credits']
       
     8     publish = forms.BooleanField(required=False)