fix: Ensure all Model fields are created with attributes help_text
and verbose_name
ref: #248 #346
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user