Commit 233dc113 authored by karin-kurusu's avatar karin-kurusu

Created forms.py

parent dee303a4
from django import forms
from .models import ForumPost
class ForumpostForm(forms.ModelForm):
class Meta:
model = ForumPost
fields = ['title', 'body', 'author']
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment