I am a new user of the Django Framework. I am currently building a REST API with the django\_rest\_framework. When starting my server I am getting deprecation warnings that I have no idea how to fix.

> 
> RemovedInDjango110Warning: 'get\_all\_related\_objects is an unofficial API that has been deprecated. You may be able to replace it with 'get\_fields()'
>  for relation in opts.get\_all\_related\_objects()
> 
> 
> 

The above is the first of these. Does anyone know how to fix this issue. All I have in my API at the minute is standard rest calls using the built in ModelViewSet and I have also overwritten the default authentication & user system with my own so I have no idea why I'm getting these warnings as I have been using Django 1.9 from the start. 

I also got this:

> 
> RemovedInDjango110Warning: render() must be called with a dict, not a RequestContext
> 
> 
> 

From my initial research this is related to templates. I am not using any templates so I don't know why this is coming up.

Can anyone help me to fix these issues?