django-orchestra-test/orchestra/contrib/letsencrypt/admin.py
2023-07-09 07:51:51 +00:00

9 lines
253 B
Python

from orchestra.admin.utils import insertattr
from orchestra.contrib.websites.admin import WebsiteAdmin
from .import actions
insertattr(WebsiteAdmin, 'change_view_actions', actions.letsencrypt)
insertattr(WebsiteAdmin, 'actions', actions.letsencrypt)