from django import forms
from .models import Comments, Post

class postForm(forms.ModelForm):
	class Meta:
		model = Post
		fields = ('title', 'body', 'cat_name', 'thumbnail', 'tag_name')

# class commentForm(forms.ModelForm):
# 	class Meta:
# 		model = Comments
# 		fields = ('user_name','content')

		
25455a216642504d03ebea1bb182f1043dc35a0b
<mask token>

<mask token>


class postForm(forms.ModelForm):


    class Meta:
        model = Post
        fields = 'title', 'body', 'cat_name', 'thumbnail', 'tag_name'

from django import forms
from .models import Comments, Post


class postForm(forms.ModelForm):


    class Meta:
        model = Post
        fields = 'title', 'body', 'cat_name', 'thumbnail', 'tag_name'

from django import forms
from .models import Comments, Post

class postForm(forms.ModelForm):
	class Meta:
		model = Post
		fields = ('title', 'body', 'cat_name', 'thumbnail', 'tag_name')

# class commentForm(forms.ModelForm):
# 	class Meta:
# 		model = Comments
# 		fields = ('user_name','content')

		