fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cover inheritance tests and fix
[wolnelektury.git]
/
apps
/
oai
/
views.py
diff --git
a/apps/oai/views.py
b/apps/oai/views.py
index
292fbc9
..
eb90035
100644
(file)
--- a/
apps/oai/views.py
+++ b/
apps/oai/views.py
@@
-9,10
+9,9
@@
metadata_registry = MetadataRegistry()
metadata_registry.registerWriter('oai_dc', oai_dc_writer)
ns_map = {'oai_dc': NS_OAIDC, 'dc': NS_DC, 'xsi': NS_XSI}
metadata_registry.registerWriter('oai_dc', oai_dc_writer)
ns_map = {'oai_dc': NS_OAIDC, 'dc': NS_DC, 'xsi': NS_XSI}
-server = ServerBase(Catalogue(), metadata_registry, ns_map)
+server = ServerBase(Catalogue(
metadata_registry
), metadata_registry, ns_map)
def oaipmh(request):
def oaipmh(request):
- print request.GET
resp = server.handleRequest(request.GET)
return HttpResponse(resp)
resp = server.handleRequest(request.GET)
return HttpResponse(resp)