Commit f471bae8 authored by Gladys Forte's avatar Gladys Forte

change none to null

parent 37a88913
......@@ -139,7 +139,7 @@ class ChangeRequestFormHeaderSerializerList(
elif instance.status.lower() == 'cancelled' or instance.status.lower() == 'closed':
can_delete = False
else:
can_delete = 'None'
can_delete = None
ret['can_delete'] = can_delete
......
......@@ -165,4 +165,5 @@ class ChangeRequestTemplatesSerializerList(
class Meta:
model = models.ChangeRequestTemplateHeader
fields = '__all__'
read_only_fields = ['created', 'template_no']
\ No newline at end of file
read_only_fields = ['created', 'template_no']
# extra_kwargs = {'client': {'required': False}}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment