add verbose_name to schema model
This commit is contained in:
parent
ae6928a2ae
commit
1d4596b267
|
@ -487,11 +487,11 @@ class DID(models.Model):
|
||||||
|
|
||||||
class Schemas(models.Model):
|
class Schemas(models.Model):
|
||||||
type = models.CharField(max_length=250)
|
type = models.CharField(max_length=250)
|
||||||
file_schema = models.CharField(max_length=250)
|
file_schema = models.CharField(_('Schema'), max_length=250)
|
||||||
data = models.TextField()
|
data = models.TextField()
|
||||||
created_at = models.DateTimeField(auto_now=True)
|
created_at = models.DateTimeField(_("Created at"), auto_now=True)
|
||||||
_name = models.TextField(null=True, db_column='name')
|
_name = models.TextField(_("Name"), null=True, db_column='name')
|
||||||
_description = models.CharField(max_length=250, null=True, db_column='description')
|
_description = models.CharField(_("Descriptions"), max_length=250, null=True, db_column='description')
|
||||||
template_description = models.TextField(null=True)
|
template_description = models.TextField(null=True)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Reference in a new issue