I am a new user of the Django Framework. I am currently creating a REST API with django_rest_framework. When I start my server, I get obsolete warnings that I don’t know how to fix.
RemovedInDjango110Warning: 'get_all_related_objects is an unofficial API that is deprecated. You can replace it with "get_fields ()" for the relationship in opts.get_all_related_objects ()
The above is the first of them. Does anyone know how to fix this problem. All I have in my API per minute are standard calls using the built-in ModelViewSet, and I also overwrite the default authentication system and user system myself, so I have no idea why I get these warnings since I used Django 1.9 from the start.
I also got this:
RemovedInDjango110Warning: render () needs to be called using a dict, not a RequestContext
From my initial research, this is related to patterns. I do not use any templates, so I do not know why this is happening.
Can someone help me fix these issues?