예제 #1
0
 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(),
     }
예제 #2
0
 class Meta:
     model = TodoEntry
     fields = ('title', 'due_date', 'new_list', 'todolist', 'assigned_to',
               'priority', 'note', 'tags')
     widgets = {
         'due_date': DateTimeL10nPicker(),
         'completed_date': DateTimeL10nPicker(),
     }
예제 #3
0
 class Meta(object):
     model = TodoEntry
     fields = ('title', 'due_date', 'assigned_to', 'completed_by',
               'completed_date', 'priority', 'note')
     widgets = {
         'due_date': DateTimeL10nPicker(),
         'completed_date': DateTimeL10nPicker(),
     }
예제 #4
0
 class Meta:
     model = TodoEntry
     fields = (
         'completed_by',
         'completed_date',
     )
     widgets = {
         'completed_date': DateTimeL10nPicker(),
     }