from django import forms
from . import models


class CreateArticle(forms.ModelForm):


    class Meta:
        model = models.Article
        fields = ['title', 'slug', 'body', 'thumb']

d71b3e7e288df1db6e93a34c8e5b5a0d6ea59a07
<mask token>

<mask token>


class CreateArticle(forms.ModelForm):


    class Meta:
        model = models.Article
        fields = ['title', 'slug', 'body', 'thumb']

from django import forms
from . import models


class CreateArticle(forms.ModelForm):


    class Meta:
        model = models.Article
        fields = ['title', 'slug', 'body', 'thumb']
