This commit is contained in:
Khanh Ngo
2016-06-26 20:53:29 +07:00
parent e88a4741c6
commit 7f5a57f80c
2 changed files with 22 additions and 5 deletions

View File

@ -37,7 +37,8 @@ API_EXTENDED_URL = utils.pdns_api_extended_uri(PDNS_VERSION)
# TODO: Find another way to do this
if StrictVersion(PDNS_VERSION) >= StrictVersion('4.0.0'):
NEW_SCHEMA = True
else:
NEW_SCHEMA = False
class Anonymous(AnonymousUserMixin):
def __init__(self):