django-orchestra-test/orchestra/contrib/letsencrypt/admin.py
2016-03-11 12:19:34 +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)