equal
deleted
inserted
replaced
288 mimetype += "; charset=utf-8" |
288 mimetype += "; charset=utf-8" |
289 resp = HttpResponse(mimetype=mimetype) |
289 resp = HttpResponse(mimetype=mimetype) |
290 resp['Cache-Control']='no-cache, must-revalidate' |
290 resp['Cache-Control']='no-cache, must-revalidate' |
291 resp['Pragma']='no-cache' |
291 resp['Pragma']='no-cache' |
292 |
292 |
|
293 ps = ProjectSerializer(project, from_content=False, from_display=True) |
293 annotations = project.getAnnotations(first_cutting=True) |
294 annotations = project.getAnnotations(first_cutting=True) |
|
295 |
294 rdf_ns = u"http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
296 rdf_ns = u"http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
295 dc_ns = u"http://purl.org/dc/elements/1.1/" |
297 dc_ns = u"http://purl.org/dc/elements/1.1/" |
296 rdf = u"{%s}" % rdf_ns |
298 rdf = u"{%s}" % rdf_ns |
297 dc = u"{%s}" % dc_ns |
299 dc = u"{%s}" % dc_ns |
298 nsmap = {u'rdf' : rdf_ns, u'dc':dc_ns} |
300 nsmap = {u'rdf' : rdf_ns, u'dc':dc_ns} |