19 lines
572 B
Python
19 lines
572 B
Python
"""
|
|
Author: Michel Peltriaux
|
|
Organization: Struktur- und Genehmigungsdirektion Nord, Rhineland-Palatinate, Germany
|
|
Contact: ksp-servicestelle@sgdnord.rlp.de
|
|
Created on: 19.08.22
|
|
|
|
"""
|
|
from intervention.models import Intervention
|
|
from konova.views.share import AbstractShareByTokenView, AbstractShareFormView
|
|
|
|
|
|
class InterventionShareByTokenView(AbstractShareByTokenView):
|
|
_MODEL_CLS = Intervention
|
|
_REDIRECT_URL = "intervention:detail"
|
|
|
|
|
|
class InterventionShareFormView(AbstractShareFormView):
|
|
_MODEL_CLS = Intervention
|
|
_REDIRECT_URL = "intervention:detail" |