role description blank=True

This commit is contained in:
2025-11-05 12:49:23 +03:30
parent 57b8d10714
commit 27cd28c4d4
3 changed files with 47 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ class Role(BaseModel):
null=True
)
role_name = models.CharField(max_length=50, unique=True)
description = models.TextField(max_length=500)
description = models.TextField(max_length=500, null=True, blank=True)
type = models.ForeignKey(
auth_models.OrganizationType,
on_delete=models.CASCADE,