diff --git a/qgis-app/plugins/forms.py b/qgis-app/plugins/forms.py index 432c51a2..17a971ae 100644 --- a/qgis-app/plugins/forms.py +++ b/qgis-app/plugins/forms.py @@ -144,7 +144,7 @@ def clean(self): f"Plugin name mismatch: the plugin name in the metadata.txt file ({self.cleaned_data.get('name')}) is different from the plugin name ({self.instance.plugin.name})." ) ) - + # Check plugin folder name if ( self.cleaned_data.get("package_name") diff --git a/qgis-app/plugins/models.py b/qgis-app/plugins/models.py index c8e95030..b2b1911d 100644 --- a/qgis-app/plugins/models.py +++ b/qgis-app/plugins/models.py @@ -319,13 +319,13 @@ class Plugin(models.Model): name = models.CharField( _("Name"), help_text=_("Must be unique"), max_length=256, unique=True ) - + allow_update_name = models.BooleanField( _("Allow update name"), help_text=_("Allow name in metadata.txt to update the plugin name"), default=False ) - + description = models.TextField(_("Description")) about = models.TextField(_("About"), blank=False, null=True)