<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_media_url(request, media_id):
 """Get media URL."""

    media = Media.objects.get(id=media_id)
    return HttpResponse(media.url.name)