equal
deleted
inserted
replaced
|
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) |