Sunil Mohan Adapa 6fc9e228a0
app: info: Move client validation to info component
- Each app does not have to call the validator by itself.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-01-04 13:47:39 +02:00

21 lines
542 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
"""
Application manifest for cockpit.
"""
from django.utils.translation import ugettext_lazy as _
clients = [{
'name': _('Cockpit'),
'platforms': [{
'type': 'web',
'url': '/_cockpit/'
}]
}]
# cockpit.conf need not be backed up because add/remove domain signals are
# triggered on every Plinth domain change (and cockpit application install) and
# will set the value of allowed domains correctly. This is the only key the is
# customized in cockpit.conf.
backup = {}