Return a dict with the response from adding an RR recorc
This commit is contained in:
parent
987e1a4d35
commit
77da4b8f82
|
@ -43,4 +43,4 @@ def add_record(clean_data):
|
|||
except dns.tsig.PeerBadKey:
|
||||
return {'errors' : "There was a problem adding your record due to a TSIG key issue. Please resolve that first." }
|
||||
|
||||
return response
|
||||
return {'response' : response }
|
||||
|
|
|
@ -82,7 +82,7 @@ def add_record_result(request):
|
|||
context_instance=RequestContext(request))
|
||||
else:
|
||||
return render_to_response('bcommon/add_record_result.htm',
|
||||
{ 'response' : response },
|
||||
{ 'response' : response['response'] },
|
||||
context_instance=RequestContext(request))
|
||||
|
||||
def view_delete_record(request):
|
||||
|
|
Loading…
Reference in New Issue