django-orchestra-test/orchestra/contrib/letsencrypt/admin.py

9 lines
253 B
Python
Raw Normal View History

2023-07-09 07:51:51 +00:00
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)