[UPDT] HORILLA VIEWS: getattr method

This commit is contained in:
Horilla
2025-04-28 10:31:12 +05:30
parent dbba4964ab
commit 9c454d21d1
3 changed files with 10 additions and 9 deletions

View File

@@ -2,15 +2,16 @@
horilla_views/generic/cbv/history.py
"""
from django.views.generic import DetailView
from django.contrib import messages
from django.apps import apps
from django.contrib import messages
from django.utils.decorators import method_decorator
from django.views.generic import DetailView
from simple_history.utils import get_history_model_for_model
from horilla_views.history_methods import get_diff
from horilla_views.generic.cbv.views import HorillaFormView
from horilla_views.cbv_methods import hx_request_required
from horilla.horilla_middlewares import _thread_locals
from horilla_views.cbv_methods import hx_request_required
from horilla_views.generic.cbv.views import HorillaFormView
from horilla_views.history_methods import get_diff
@method_decorator(hx_request_required, name="dispatch")