mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-25 08:43:36 +00:00
16 lines
417 B
Python
16 lines
417 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""
|
|
Forms for configuring diaspora*
|
|
"""
|
|
|
|
from django import forms
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
from plinth.forms import AppForm
|
|
|
|
|
|
class DiasporaAppForm(AppForm):
|
|
"""Service Form with additional fields for diaspora*"""
|
|
is_user_registrations_enabled = forms.BooleanField(
|
|
label=_('Enable new user registrations'), required=False)
|