mpeltriaux 00bf03f58d # Share view refactoring
* refactors share views for eiv, oek, ema (kom does not have any)
2025-11-28 11:53:43 +01:00

20 lines
571 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 compensation.models import EcoAccount
from konova.views.share import AbstractShareByTokenView, AbstractShareFormView
class EcoAccountShareByTokenView(AbstractShareByTokenView):
_MODEL_CLS = EcoAccount
_REDIRECT_URL = "compensation:acc:detail"
class EcoAccountShareFormView(AbstractShareFormView):
_MODEL_CLS = EcoAccount
_REDIRECT_URL = "compensation:acc:detail"