geonature.core.gn_commons.admin

Attributes

log

Classes

Module Contents

geonature.core.gn_commons.admin.log[source]
class geonature.core.gn_commons.admin.TAdditionalFieldsForm[source]

Bases: flask_admin.form.BaseForm

validate(extra_validators=None)[source]
class geonature.core.gn_commons.admin.BibFieldAdmin[source]

Bases: geonature.core.admin.utils.CruvedProtectedMixin, flask_admin.contrib.sqla.ModelView

module_code = 'ADMIN'[source]
object_code = 'ADDITIONAL_FIELDS'[source]
form_base_class[source]
form_columns = ('field_name', 'field_label', 'type_widget', 'modules', 'objects', 'datasets', 'required',...[source]
column_exclude_list = ('field_values', 'additional_attributes', 'key_label', 'key_value', 'multiselect', 'api',...[source]
column_display_all_relations = True[source]
form_args[source]
column_descriptions[source]
class geonature.core.gn_commons.admin.TMobileAppsAdmin[source]

Bases: geonature.core.admin.utils.CruvedProtectedMixin, flask_admin.contrib.sqla.ModelView

module_code = 'ADMIN'[source]
object_code = 'MOBILE_APPS'[source]
column_list = ('app_code', 'relative_path_apk', 'url_apk', 'package', 'version_code')[source]
column_labels[source]
form_columns = ('app_code', 'relative_path_apk', 'url_apk', 'package', 'version_code')[source]
column_exclude_list = 'id_mobile_app'[source]
class geonature.core.gn_commons.admin.TModulesAdmin[source]

Bases: geonature.core.admin.utils.CruvedProtectedMixin, flask_admin.contrib.sqla.ModelView

module_code = 'ADMIN'[source]
object_code = 'MODULES'[source]
can_view_details = True[source]
action_disallowed_list = ['delete'][source]
can_create = False[source]
can_delete = False[source]
column_searchable_list = ('module_code', 'module_label')[source]
column_default_sort = [('module_order', False), ('id_module', False)][source]
column_sortable_list = ('module_order', 'module_code', 'module_label')[source]
column_list = ('module_code', 'module_label', 'module_picto', 'module_order')[source]
column_details_list = ('module_code', 'module_label', 'module_desc', 'module_comment', 'module_picto',...[source]
form_columns = ('module_label', 'module_desc', 'module_comment', 'module_picto', 'module_doc_url', 'module_order')[source]
column_labels[source]