from django import forms
from pagedown.widgets import AdminPagedownWidget
from .models import Post

class PostForm(forms.ModelForm):
    body = forms.CharField(widget=AdminPagedownWidget())

    class Meta:
        model = Post
        fields = "__all__"
7e0b950babd6ec2700801a97a1cdf79378326b90
<mask token>

<mask token>


class PostForm(forms.ModelForm):
    <mask token>


    class Meta:
        model = Post
        fields = '__all__'

<mask token>


class PostForm(forms.ModelForm):
    body = forms.CharField(widget=AdminPagedownWidget())


    class Meta:
        model = Post
        fields = '__all__'

from django import forms
from pagedown.widgets import AdminPagedownWidget
from .models import Post


class PostForm(forms.ModelForm):
    body = forms.CharField(widget=AdminPagedownWidget())


    class Meta:
        model = Post
        fields = '__all__'

from django import forms
from pagedown.widgets import AdminPagedownWidget
from .models import Post

class PostForm(forms.ModelForm):
    body = forms.CharField(widget=AdminPagedownWidget())

    class Meta:
        model = Post
        fields = "__all__"