<gh_stars>0
from .models import Author, Post
from django import forms
from django.contrib.auth.models import User


# class ContentForm(forms.ModelForm):
#     class Meta:
#         model = Post
#         fields = [
#             'author',
#             'title',
#             'body'
#         ]

from .models import Author, Post
from django import forms
from django.contrib.auth.models import User


# class ContentForm(forms.ModelForm):
#     class Meta:
#         model = Post
#         fields = [
#             'author',
#             'title',
#             'body'
#         ]
# class ContentForm(forms.ModelForm): #     class Meta: #         model = Post #         fields = [ #             'author', #             'title', #             'body' #         ]