mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
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>
15 lines
441 B
Python
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)
|