add verbose names to model

This commit is contained in:
Matthias 2021-11-16 00:21:03 +01:00
parent aec6a58cad
commit 65764effbb
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -20,6 +20,9 @@ class PluginConfig(models.Model):
name: PluginName of the plugin - serves for a manual double check if the right plugin is used name: PluginName of the plugin - serves for a manual double check if the right plugin is used
active: Should the plugin be loaded? active: Should the plugin be loaded?
""" """
class Meta:
verbose_name = _("Plugin Configuration")
verbose_name_plural = _("Plugin Configurations")
key = models.CharField( key = models.CharField(
unique=True, unique=True,