mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-15 15:44:26 -04:00
add todo comment for mlazana
This commit is contained in:
parent
71402c3d09
commit
b44281919d
1 changed files with 3 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue