class Meta(_TodoEntryAddForm.Meta): fields = ('title', 'note', 'due_date', 'new_list', 'todolist', 'assigned_to', 'completed_by', 'completed_date', 'priority') widgets = { 'due_date': DateTimeL10nPicker(), 'completed_date': DateTimeL10nPicker(), }
class Meta: model = TodoEntry fields = ('title', 'due_date', 'new_list', 'todolist', 'assigned_to', 'priority', 'note', 'tags') widgets = { 'due_date': DateTimeL10nPicker(), 'completed_date': DateTimeL10nPicker(), }
class Meta(object): model = TodoEntry fields = ('title', 'due_date', 'assigned_to', 'completed_by', 'completed_date', 'priority', 'note') widgets = { 'due_date': DateTimeL10nPicker(), 'completed_date': DateTimeL10nPicker(), }
class Meta: model = TodoEntry fields = ( 'completed_by', 'completed_date', ) widgets = { 'completed_date': DateTimeL10nPicker(), }