* adds (WIP) detail view for interventions * renames typo in conservations_file_number to conservation_file_number * adds simple has_access check for intervention objects for given users * renames occurences of "Registered" to "Recorded" (verzeichnen) * adds an informing message for detail view of intervention objects which are not editable for a user * adds GeometryAdmin * adds fallback DEFAULT_SRID for Geometry model * adds translations
22 lines
424 B
Python
22 lines
424 B
Python
"""
|
|
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
|
|
|
|
from konova.models import Geometry
|
|
|
|
|
|
class GeometryAdmin(admin.ModelAdmin):
|
|
list_display = [
|
|
"id",
|
|
"created_on",
|
|
"created_by",
|
|
]
|
|
|
|
|
|
admin.site.register(Geometry, GeometryAdmin)
|