Commit cf7ecad4 authored by Hanno Schlichting's avatar Hanno Schlichting

Properly deprecate this API, it's used outside

parent 6fdcb987
......@@ -13,6 +13,9 @@
"""Add security system support to Document Templates
"""
# BBB
from DocumentTemplate.security import DTMLSecurityAPI
from DocumentTemplate.security import RestrictedDTML
from zope.deferredimport import deprecated
deprecated("Please import from DocumentTemplate.security",
DTMLSecurityAPI = 'DocumentTemplate.security:DTMLSecurityAPI',
RestrictedDTML = 'DocumentTemplate.security:RestrictedDTML',
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment