From b44281919df95a41f56c36704286370eba2e27f1 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 22 Apr 2019 19:10:22 -0400 Subject: [PATCH] add todo comment for mlazana --- archivebox/core/views.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/archivebox/core/views.py b/archivebox/core/views.py index a30043c1..90d54080 100644 --- a/archivebox/core/views.py +++ b/archivebox/core/views.py @@ -33,10 +33,11 @@ class AddLinks(View): def post(self, request): import_path = request.POST['url'] + + # TODO: add the links to the index here using archivebox.legacy.main.update_archive_data print(f'Adding URL: {import_path}') - context = {} - return render(template_name=self.template, request=request, context=context) + return render(template_name=self.template, request=request, context={}) class LinkDetails(View):