Commit 0855bf3b authored by Jan Enzo Salvador's avatar Jan Enzo Salvador

Created again the forms.py

parent 2fb966da
from django import forms
from .models import ForumPost
class AddForumPostForm(forms.ModelForm):
class Meta:
model = ForumPost
fields = '__all__'
# template to be used by default is called ForumPost_form.html
\ 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