Create announcements admin view
This commit is contained in:
parent
d1f2d9812f
commit
515d5bb237
7 changed files with 186 additions and 0 deletions
|
@ -269,6 +269,12 @@ class SiteForm(CustomForm):
|
|||
exclude = []
|
||||
|
||||
|
||||
class AnnouncementForm(CustomForm):
|
||||
class Meta:
|
||||
model = models.Announcement
|
||||
exclude = ["remote_id"]
|
||||
|
||||
|
||||
class ListForm(CustomForm):
|
||||
class Meta:
|
||||
model = models.List
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue