Added all the functionality of app and admin
This commit is contained in:
7
module_notification/forms.py
Normal file
7
module_notification/forms.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django import forms
|
||||
from .models import PushNotification
|
||||
|
||||
class PushNotificationForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = PushNotification
|
||||
fields = ('title', 'banner_image', 'message')
|
||||
Reference in New Issue
Block a user