diff options
author | ankitjavalkar | 2020-10-08 16:12:01 +0530 |
---|---|---|
committer | GitHub | 2020-10-08 16:12:01 +0530 |
commit | aaf8f36bce5fff6c36bcbac3fa038ae99304b73f (patch) | |
tree | b00c763f1ef38a3abf43f4f337d97f67ae04337a /yaksh/forms.py | |
parent | f61351f6a4e7a6150e66ca39f23ac14f9a60de96 (diff) | |
parent | 78eb6dc42e73551c2bb9972e53a2d7dd3b81e7d7 (diff) | |
download | online_test-aaf8f36bce5fff6c36bcbac3fa038ae99304b73f.tar.gz online_test-aaf8f36bce5fff6c36bcbac3fa038ae99304b73f.tar.bz2 online_test-aaf8f36bce5fff6c36bcbac3fa038ae99304b73f.zip |
Merge pull request #778 from ankitjavalkar/cruise-comments-under-video
[Rebased] Comments under video lesson
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r-- | yaksh/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py index c179081..091505d 100644 --- a/yaksh/forms.py +++ b/yaksh/forms.py @@ -613,7 +613,7 @@ class TestcaseForm(forms.ModelForm): class PostForm(forms.ModelForm): class Meta: model = Post - fields = ["title", "description", "image"] + fields = ["title", "description", "image", "anonymous"] widgets = { 'title': forms.TextInput( attrs={ @@ -636,7 +636,7 @@ class PostForm(forms.ModelForm): class CommentForm(forms.ModelForm): class Meta: model = Comment - fields = ["description", "image"] + fields = ["description", "image", "anonymous"] widgets = { 'description': forms.Textarea( attrs={ |