from django.http import HttpResponse
from couchforms.views import post as couchforms_post

def post(request, domain):
     def callback(doc):
         doc['#export_tag'] = ["domain", "xmlns"]
         doc['submit_ip'] = request.META['REMOTE_ADDR']
         doc['domain'] = domain
         doc.save()
         return HttpResponse("%s\n" % doc['_id'])
     return couchforms_post(request, callback)

@@ -115,17 +115,16 @@
 n):%0A    
- 
 def call
@@ -134,17 +134,16 @@
 k(doc):%0A
- 
         
@@ -187,25 +187,24 @@
 s%22%5D%0A        
- 
 doc%5B'submit_
@@ -238,17 +238,16 @@
 _ADDR'%5D%0A
- 
         
@@ -277,17 +277,16 @@
         
- 
 doc.save
@@ -288,17 +288,16 @@
 .save()%0A
- 
         
@@ -337,17 +337,16 @@
 '_id'%5D)%0A
- 
     retu

fix indentation