app/soc/views/models/program.py
changeset 2064 031406b4789d
parent 2055 b4375ec63de5
child 2076 1cd180cc56c9
--- a/app/soc/views/models/program.py	Fri Apr 03 04:54:10 2009 +0000
+++ b/app/soc/views/models/program.py	Fri Apr 03 10:36:57 2009 +0000
@@ -389,7 +389,9 @@
                 }
       key_name = duplicates_logic.getKeyNameFromFields(fields)
       duplicates_logic.updateOrCreateFromKeyName(fields, key_name)
-      return http.HttpResponse('Done')
+
+      response = simplejson.dumps({'status': 'done'})
+      return http.HttpResponse(response)
 
     context = helper.responses.getUniversalContext(request)
     helper.responses.useJavaScript(context, params['js_uses_all'])