from .models import BlogPost, Comment
from django.forms import ModelForm

class BlogPostForm(ModelForm):
    class Meta:
        model = BlogPost
        exclude = ('user',)

class CommentForm(ModelForm):
    class Meta:
        model = Comment
        exclude = ('post', 'user', 'date',)

from .models import BlogPost, BlogComment
from django.forms import ModelForm

class BlogPostForm(ModelForm):
    class Meta:
        model = BlogPost
        exclude = ('user',)

class CommentForm(ModelForm):
    class Meta:
        model = BlogComment
        exclude = ('post', 'user', 'date',)

Fix model name for BlogComment after previous refactoring
Fix model name for BlogComment after previous refactoring
