added import for pepperplate

This commit is contained in:
vabene1111
2021-03-28 18:22:30 +02:00
parent 6143e31e1a
commit 738f0781b2
6 changed files with 82 additions and 6 deletions

View File

@ -111,11 +111,14 @@ class ImportExportBase(forms.Form):
CHOWDOWN = 'CHOWDOWN'
SAFRON = 'SAFRON'
CHEFTAP = 'CHEFTAP'
PEPPERPLATE = 'PEPPERPLATE'
type = forms.ChoiceField(choices=(
(DEFAULT, _('Default')), (PAPRIKA, 'Paprika'), (NEXTCLOUD, 'Nextcloud Cookbook'),
(MEALIE, 'Mealie'), (CHOWDOWN, 'Chowdown'), (SAFRON, 'Safron'), (CHEFTAP, 'ChefTap'),
(PEPPERPLATE, 'Pepperplate'),
))
duplicates = forms.BooleanField(help_text=_('To prevent duplicates recipes with the same name as existing ones are ignored. Check this box to import everything.'))
class ImportForm(ImportExportBase):