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

9 lines
253 B
Python
Raw Permalink Normal View History

2016-03-11 12:19:34 +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)