Landing page

* started to implement a landing page
* started news implementation
This commit is contained in:
mipel
2021-07-05 14:49:32 +02:00
parent b59b9839ff
commit f069baa260
12 changed files with 213 additions and 75 deletions

21
konova/admin.py Normal file
View File

@@ -0,0 +1,21 @@
"""
Author: Michel Peltriaux
Organization: Struktur- und Genehmigungsdirektion Nord, Rhineland-Palatinate, Germany
Contact: michel.peltriaux@sgdnord.rlp.de
Created on: 05.07.21
"""
from django.contrib import admin
from konova.models import ServerMessage
class ServerMessageAdmin(admin.ModelAdmin):
list_display = [
"id",
"subject",
"publish_on",
"is_active",
]
admin.site.register(ServerMessage, ServerMessageAdmin)