changeset 18 | a39549bd5b08 |
parent 12 | a93eebabfeb1 |
child 21 | c28774fe7ffd |
--- a/taskapp/forms/task.py Thu Feb 04 22:21:44 2010 +0530 +++ b/taskapp/forms/task.py Thu Feb 04 22:27:47 2010 +0530 @@ -0,0 +1,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)