add help text, deprecate field

This commit is contained in:
AlanCoding 2018-05-18 14:16:59 -04:00
parent f6eeecf6d1
commit 222fbfc328
No known key found for this signature in database
GPG Key ID: FD2C3C012A72926B

View File

@ -1407,6 +1407,9 @@ class ProjectSerializer(UnifiedJobTemplateSerializer, ProjectOptionsSerializer):
'admin', 'update',
{'copy': 'organization.project_admin'}
]
scm_delete_on_next_update = serializers.BooleanField(
read_only=True,
help_text=_('This field has been deprecated and will be removed in a future release'))
class Meta:
model = Project