from ckeditor_uploader.widgets import CKEditorUploadingWidget
from django import forms
from django.forms import CharField

from apps.comments.models import Comment


class CommentCreateForm(forms.ModelForm):
    class Meta:
        model = Comment
        fields = ("body",)


# class CommentCreateForm(forms.ModelForm):
#     body = CharField(label='Комментарий', widget=CKEditorUploadingWidget(config_name="for_user"))
#
#     class Meta:
#         model = Comment
#         fields = ("body",)

75f46cdf3e33d132480d5ff730b4ab2344c418ed
<mask token>

<mask token>


class CommentCreateForm(forms.ModelForm):


    class Meta:
        model = Comment
        fields = 'body',

from ckeditor_uploader.widgets import CKEditorUploadingWidget
from django import forms
from django.forms import CharField
from apps.comments.models import Comment


class CommentCreateForm(forms.ModelForm):


    class Meta:
        model = Comment
        fields = 'body',

from ckeditor_uploader.widgets import CKEditorUploadingWidget
from django import forms
from django.forms import CharField

from apps.comments.models import Comment


class CommentCreateForm(forms.ModelForm):
    class Meta:
        model = Comment
        fields = ("body",)


# class CommentCreateForm(forms.ModelForm):
#     body = CharField(label='Комментарий', widget=CKEditorUploadingWidget(config_name="for_user"))
#
#     class Meta:
#         model = Comment
#         fields = ("body",)
