view and model notif and news
This commit is contained in:
@@ -134,4 +134,15 @@ class SecurityBreachAttemptAdmin(ModelAdmin, ImportExportModelAdmin):
|
||||
|
||||
return format_html(
|
||||
svg
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@admin.register(NewsModel)
|
||||
class NewsAdmin(ModelAdmin):
|
||||
pass
|
||||
|
||||
|
||||
@admin.register(UserNotificationModel)
|
||||
class UserNotificationAdmin(ModelAdmin):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user