This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/articles/forms.py

10 lines
190 B
Python
Raw Normal View History

2020-08-18 18:49:41 +02:00
from django import forms
from articles.models import Comment
class CommentForm(forms.ModelForm):
class Meta:
model = Comment
fields = ["username", "email", "content"]