From de17871f353751fc86db297e62c24de499a8c699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Kol=C3=A1=C5=99?= Date: Thu, 17 Aug 2023 12:43:10 +0200 Subject: [PATCH] fix(plugins): renames in plugin template --- fiesta/apps/plugins/plugin_template/apps.py-tpl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fiesta/apps/plugins/plugin_template/apps.py-tpl b/fiesta/apps/plugins/plugin_template/apps.py-tpl index 78fc61f9..fdd535b2 100644 --- a/fiesta/apps/plugins/plugin_template/apps.py-tpl +++ b/fiesta/apps/plugins/plugin_template/apps.py-tpl @@ -1,11 +1,13 @@ from django.utils.translation import gettext_lazy as _ -from apps.plugins.plugin import PluginAppConfig +from apps.plugins.plugin import BasePluginAppConfig -class {{ camel_case_plugin_name }}Config(PluginAppConfig): +class {{ camel_case_plugin_name }}Config(BasePluginAppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'apps.{{ plugin_name }}' - title = _('{{ plugin_name }}') + verbose_name = _('{{ plugin_name }}') + emoji = "" + description = _('{{ plugin_name }} is one of the plugins.') configuration_model = '{{ plugin_name }}.{{ camel_case_plugin_name }}Configuration'