File diff 9158aff702ed → 2a23a0a55ea0
conservancy/usethesource/forms.py
Show inline comments
...
 
@@ -6,7 +6,11 @@ from .models import Comment
 
class CommentForm(forms.ModelForm):
 
    class Meta:
 
        model = Comment
 
        fields = ['message']
 
        fields = ['time', 'message']
 

	
 
    def __init__(self, *args, **kwargs):
 
        super().__init__(*args, **kwargs)
 
        self.fields['time'].widget.input_type = 'datetime-local'
 

	
 

	
 
class DownloadForm(forms.Form):