web/ldt/ldt_utils/views.py
changeset 95 9bae869b2146
parent 94 9927a619d2b5
parent 89 30c6e597a7de
child 99 0fb4b009c6eb
equal deleted inserted replaced
94:9927a619d2b5 95:9bae869b2146
   384         mimetype += "; charset=utf-8" 
   384         mimetype += "; charset=utf-8" 
   385     resp = HttpResponse(mimetype=mimetype)
   385     resp = HttpResponse(mimetype=mimetype)
   386     resp['Cache-Control']='no-cache, must-revalidate'
   386     resp['Cache-Control']='no-cache, must-revalidate'
   387     resp['Pragma']='no-cache'
   387     resp['Pragma']='no-cache'
   388 
   388 
   389     ps = ProjectSerializer(project, from_content=False, from_display=True) 
   389     ps = ProjectSerializer(project, from_contents=False, from_display=True) 
   390     annotations = project.getAnnotations(first_cutting=True)
   390     annotations = project.getAnnotations(first_cutting=True)
   391     
   391     
   392     rdf_ns = u"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   392     rdf_ns = u"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   393     dc_ns = u"http://purl.org/dc/elements/1.1/"
   393     dc_ns = u"http://purl.org/dc/elements/1.1/"
   394     rdf = u"{%s}" % rdf_ns
   394     rdf = u"{%s}" % rdf_ns