kopia lustrzana https://github.com/OpenDroneMap/WebODM
Update app/models/plugin.py
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>pull/943/head
rodzic
2f00194d37
commit
4946609a94
|
@ -3,7 +3,7 @@ from django.utils.translation import gettext_lazy as _
|
|||
|
||||
class Plugin(models.Model):
|
||||
name = models.CharField(max_length=255, primary_key=True, blank=False, null=False, help_text=_("Plugin name"), verbose_name=_("Name"))
|
||||
enabled = models.BooleanField(db_index=True, default=True, help_text=_("Whether this plugin is enabled."), verbose_name=_("Enabled"))
|
||||
enabled = models.BooleanField(db_index=True, default=True, help_text=_("Whether this plugin is turned on."), verbose_name=_("Enabled"))
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
@ -18,4 +18,4 @@ class Plugin(models.Model):
|
|||
|
||||
class Meta:
|
||||
verbose_name = _("Plugin")
|
||||
verbose_name_plural = _("Plugins")
|
||||
verbose_name_plural = _("Plugins")
|
||||
|
|
Ładowanie…
Reference in New Issue