fix: Ensure all Model fields are created with attributes help_text and verbose_name

ref:  #248 #346
This commit is contained in:
2024-10-14 01:02:09 +09:30
parent e765b03d3b
commit 32d5008f63
29 changed files with 1443 additions and 141 deletions

View File

@ -80,8 +80,10 @@ class Project(ProjectCommonFieldsName):
description = models.TextField(
blank = True,
help_text = 'Outline of this Project',
default = None,
null= True,
verbose_name = 'Description'
)
priority = models.IntegerField(
@ -152,18 +154,20 @@ class Project(ProjectCommonFieldsName):
manager_user = models.ForeignKey(
User,
blank= True,
help_text = '',
help_text = 'User who is the Project Manager',
on_delete=models.SET_NULL,
null = True,
related_name = 'manager_user'
related_name = 'manager_user',
verbose_name = 'Manager'
)
manager_team = models.ForeignKey(
Team,
blank= True,
help_text = '',
help_text = 'Team which contains the Project Managers',
on_delete=models.SET_NULL,
null = True,
verbose_name = 'Project Manager Team'
)
model_notes = None