From 3928f602bf0e4d36db3e702990bf129867bd4f28 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Mon, 12 Sep 2016 17:54:06 +0530 Subject: interface to add start date and end time for book. Initial books log were not maintained by the app as they were completed before the TBC interface. Interface to manually enter their details. --- tbc/forms.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tbc/forms.py') diff --git a/tbc/forms.py b/tbc/forms.py index f1a1328..1aa1e6c 100644 --- a/tbc/forms.py +++ b/tbc/forms.py @@ -71,4 +71,6 @@ class BookForm(forms.ModelForm): 'edition':forms.TextInput(attrs={'placeholder':'Edition of the Book'}), 'year_of_pub':forms.TextInput(attrs={'placeholder':'Year when the Book was published'}), 'no_chapters':forms.TextInput(attrs={'placeholder':'Total number of chapters in the Book (only include chapters that have solved examples)'}), + 'start_time': forms.DateInput(attrs={'class':'datepicker'}), + 'end_time': forms.DateInput(attrs={'class':'datepicker'}), } -- cgit