I would like to get https links for resources instead of the current http 
links.

Example currently I get something like this:
http://10.16.18.46:9000/media/tds_data/2020/2/1/6328/cat.12233.jpg

what should I change in the get request in views.py

    def get(self, request, format=None):
        files = Files.objects.all()
        serializer = FilesSerializer(files, many=True)
        print(serializer.data)
        return Response(serializer.data)


-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-rest-framework+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/616452dd-275e-48db-99d7-10f02832026c%40googlegroups.com.

Reply via email to