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
)
```
While visiting a profile of another user from a non-staff account,
backend is returning html of its certs in page source.To avoid it,
a check is added in backend so that certs are only added when the
visiting user is itself visiting its profile or it would be a staff.
LEARNER-7057
Setting defaults for waffle flags to true.
default=true for use_bootstrap in discussions app
default=true for show_achievements in learner profile app
LEARNER-5509
Updates the look and feel of the two (experimental and disabled by
default) links to student records.
Also converts the 'student_records' waffle switch to a waffle flag
named 'credentials.student_records.
LEARNER-5246
Add some waffle-guarded connection points to the Credentials service
to start filling out the user flow for Student Records.
Specifically, add a button to the Program Progress Details page if
a certificate exists, and add a link in the Learner Profile page.
Both only appear if the 'student_records' waffle switch is active.
LEARNER-4701
When a learner changes this dropdown from Full to Limited or
vice versa, nothing happens. This creates confusion, to fix
that add save button.
LEARNER-3239