2021-07-22 13:19:14 +02:00
|
|
|
"""
|
|
|
|
Author: Michel Peltriaux
|
|
|
|
Organization: Struktur- und Genehmigungsdirektion Nord, Rhineland-Palatinate, Germany
|
|
|
|
Contact: michel.peltriaux@sgdnord.rlp.de
|
|
|
|
Created on: 22.07.21
|
|
|
|
|
|
|
|
"""
|
|
|
|
from django.contrib import admin
|
|
|
|
|
2021-09-01 16:24:49 +02:00
|
|
|
from konova.models import Geometry, Deadline
|
2021-07-22 13:19:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
class GeometryAdmin(admin.ModelAdmin):
|
|
|
|
list_display = [
|
|
|
|
"id",
|
2021-08-02 11:52:20 +02:00
|
|
|
"created",
|
2021-07-22 13:19:14 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
|
2021-09-01 16:24:49 +02:00
|
|
|
class AbstractDocumentAdmin(admin.ModelAdmin):
|
2021-07-23 16:04:58 +02:00
|
|
|
list_display = [
|
|
|
|
"id",
|
|
|
|
"title",
|
|
|
|
"comment",
|
2021-08-02 11:52:20 +02:00
|
|
|
"created",
|
2021-07-23 16:04:58 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
|
2021-07-30 12:20:23 +02:00
|
|
|
class DeadlineAdmin(admin.ModelAdmin):
|
|
|
|
list_display = [
|
|
|
|
"id",
|
|
|
|
"type",
|
|
|
|
"date",
|
|
|
|
"comment",
|
|
|
|
]
|
|
|
|
|
|
|
|
|
2021-07-22 13:19:14 +02:00
|
|
|
admin.site.register(Geometry, GeometryAdmin)
|
2021-07-30 12:20:23 +02:00
|
|
|
admin.site.register(Deadline, DeadlineAdmin)
|