From 5603079b9b414cc1a14462034cc64dae4d8f45df Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Wed, 1 Dec 2021 16:37:08 +0000 Subject: [PATCH] Update the utility that generates batches of bibxml3 files to match the way the view uses the templates. Commit ready for merge. - Legacy-Id: 19718 --- ietf/doc/management/commands/generate_draft_bibxml_files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/doc/management/commands/generate_draft_bibxml_files.py b/ietf/doc/management/commands/generate_draft_bibxml_files.py index 82c50b037..1e1a5e3dd 100644 --- a/ietf/doc/management/commands/generate_draft_bibxml_files.py +++ b/ietf/doc/management/commands/generate_draft_bibxml_files.py @@ -82,7 +82,7 @@ class Command(BaseCommand): if e.rev == h.rev: doc = h break - ref_text = '%s' % render_to_string('doc/bibxml.xml', {'doc': doc, 'doc_bibtype':'I-D'}) + ref_text = '%s' % render_to_string('doc/bibxml.xml', {'name':doc.name, 'doc': doc, 'doc_bibtype':'I-D'}) if e.rev == e.doc.rev: ref_file_name = os.path.join(bibxmldir, 'reference.I-D.%s.xml' % (doc.name[6:], )) self.write(ref_file_name, ref_text)