Fixing RemovedInDjango30Warnings **Background:** The `django.shortcuts` method `render_to_response` became deprecated in [Django 1.3](https://docs.djangoproject.com/en/3.0/releases/1.3/), when `render` was introduced. Per the documentation: > render() is the same as a call to render_to_response() with a context_instance argument that forces the use of a RequestContext. Both return an `HttpResponse` object. **Context:** We changed two statements: An import line and the call to the method, adding explicit parameter names to improve readability. **Before:** ``` from django.shortcuts import get_object_or_404, render_to_response ... return render_to_response("teams/teams.html", context) ``` **After** ``` from django.shortcuts import get_object_or_404, render ... return render( request=request, template_name="teams/teams.html", context=context ) ```
Learner Profile --------------- This directory contains a Django application that provides a view to render a profile for any Open edX learner. See `Exploring Your Dashboard and Profile`_ for more details. .. _Exploring Your Dashboard and Profile: https://edx.readthedocs.io/projects/open-edx-learner-guide/en/latest/SFD_dashboard_profile_SectionHead.html?highlight=profile