nbenedek 63278f0bcd
rssbridge: add option to allow public access
These modifications are copied after the wordpress
public access configurator.

Signed-off-by: nbenedek <contact@nbenedek.me>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-10-24 12:02:10 -07:00

15 lines
441 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
"""Django forms for configuring RSS-Bridge."""
from django import forms
from django.utils.translation import gettext_lazy as _
class RSSBridgeForm(forms.Form):
"""RSS-Bridge configuration form."""
is_public = forms.BooleanField(
label=_('Allow Public Access'), help_text=_(
'Allow this application to be used by anyone who can reach it.'),
required=False)