mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-11 08:23:49 +00:00
14 lines
387 B
Python
14 lines
387 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""
|
|
FreedomBox app for configuring OpenVPN.
|
|
"""
|
|
|
|
from django import forms
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
|
|
class OpenVpnForm(forms.Form): # pylint: disable=W0232
|
|
"""OpenVPN configuration form."""
|
|
enabled = forms.BooleanField(label=_('Enable OpenVPN server'),
|
|
required=False)
|