From 1d4596b2672830f074f72a83b6483deeb99ce433 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 20 Mar 2024 11:40:55 +0100 Subject: [PATCH] add verbose_name to schema model --- idhub/models.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/idhub/models.py b/idhub/models.py index c5841da..bdbbe2d 100644 --- a/idhub/models.py +++ b/idhub/models.py @@ -487,11 +487,11 @@ class DID(models.Model): class Schemas(models.Model): type = models.CharField(max_length=250) - file_schema = models.CharField(max_length=250) + file_schema = models.CharField(_('Schema'), max_length=250) data = models.TextField() - created_at = models.DateTimeField(auto_now=True) - _name = models.TextField(null=True, db_column='name') - _description = models.CharField(max_length=250, null=True, db_column='description') + created_at = models.DateTimeField(_("Created at"), auto_now=True) + _name = models.TextField(_("Name"), null=True, db_column='name') + _description = models.CharField(_("Descriptions"), max_length=250, null=True, db_column='description') template_description = models.TextField(null=True) @property