mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-03-20 06:52:39 +10:00
feat: Allow feed loading from the add links view
This commit is contained in:
7
archivebox/core/forms.py
Normal file
7
archivebox/core/forms.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django import forms
|
||||
|
||||
CHOICES = (('url', 'URL'), ('feed', 'Feed'))
|
||||
|
||||
class AddLinkForm(forms.Form):
|
||||
url = forms.URLField()
|
||||
source = forms.ChoiceField(choices=CHOICES, widget=forms.RadioSelect, initial='url')
|
||||
Reference in New Issue
Block a user