1
0
Fork 0
mirror of synced 2024-06-28 11:00:35 +12:00

add todo comment for mlazana

This commit is contained in:
Nick Sweeting 2019-04-22 19:10:22 -04:00
parent 71402c3d09
commit b44281919d

View file

@ -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):