Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improvements in code; fix info in UA zones; add attributes to keysys
- Loading branch information
Showing
3 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
from domain import domain | ||
|
||
from ..TagData import TagData | ||
|
||
class domain_hm(domain): | ||
CONTACT_TYPES = ( | ||
'admin', | ||
'tech', | ||
) | ||
|
||
def render_info(self, request, data): | ||
command = self.render_command_with_fields(request, 'info', [ | ||
TagData('name', data.get('name'), {}) | ||
]) | ||
if 'pw' in data: | ||
self.render_auth_info(request, command, data['pw']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters