Commit 83a6d280 authored by Gladys Forte's avatar Gladys Forte

undo

parent 266a8408
This diff is collapsed.
......@@ -375,7 +375,7 @@ class ChangeRequestTemplatePost(APIView):
serializerAttach = serializers.ChangeRequestTemplateAttachmentsSerializer(
data=data_list_attach, many=True)
if serializerAttach.is_valid(raise_exception=True):
serializerAttach.save()
......@@ -468,7 +468,7 @@ class ChangeRequestTemplateAttachmentsViewset(meviewsets.ModelViewSet):
self.queryset = QuerySetHelper.Sort(self)
page = self.paginate_queryset(self.queryset)
if page is not None:
serializer = self.get_serializer(page, many=True)
......
......@@ -471,3 +471,7 @@ def crhistory_log_bulk_delete(queryset, entity, tbl, form_code,
return True
except IntegrityError as exc:
raise APIException(detail=exc)
def generate_template_id(prefix):
print("hello")
\ 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