Commit 2cd9597e by Bence Dányi

firewall_gui: fetch dns records for domain names

parent a5acd063
...@@ -145,6 +145,7 @@ def list_entities(request, name): ...@@ -145,6 +145,7 @@ def list_entities(request, name):
'modified_at', 'modified_at',
'ttl', 'ttl',
'description', 'description',
('record_set', lambda entity: [{'id':entity.id, 'name':entity.name} for entity in entity.record_set.all()]),
'owner']), 'owner']),
'records': make_entity_lister(Record, [ 'records': make_entity_lister(Record, [
'id', 'id',
......
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 sign in to comment