From 644b1e4b253bc18c02463036133488814666a5eb Mon Sep 17 00:00:00 2001 From: Elias Showk Date: Thu, 23 Aug 2018 16:31:33 +0200 Subject: [PATCH 6/6] pwa: activate django admin model UI (#25462) --- combo/apps/notifications/admin.py | 4 ++++ combo/apps/pwa/admin.py | 22 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 combo/apps/notifications/admin.py create mode 100644 combo/apps/pwa/admin.py diff --git a/combo/apps/notifications/admin.py b/combo/apps/notifications/admin.py new file mode 100644 index 0000000..73fecae --- /dev/null +++ b/combo/apps/notifications/admin.py @@ -0,0 +1,4 @@ +from django.contrib import admin +from combo.apps.notifications.models import Notification + +admin.site.register(Notification) \ No newline at end of file diff --git a/combo/apps/pwa/admin.py b/combo/apps/pwa/admin.py new file mode 100644 index 0000000..7a98105 --- /dev/null +++ b/combo/apps/pwa/admin.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +# combo - Combo PWA App +# Copyright (C) 2018 Entr'ouvert +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +from django.contrib import admin + + +from .models import WebPushRecord +admin.site.register(WebPushRecord) -- 2.18.0