Commit aba83414 authored by Neal Berones's avatar Neal Berones

created forms.py for announcements app

parent bf37a4c0
from django.forms import ModelForm
from .models import WidgetUser, Announcement, Reaction
class AnnouncementForm(ModelForm):
class Meta:
model = Announcement
fields = [
"announcement_title",
"announcement_body",
"author",
"image"
]
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