code: def inbox(request, template_name='django_messages/inbox.html'):
      
      message_list = Message.objects.inbox_for(request.user)
      return render(request, template_name, {
          'message_list': message_list,
      })
docs: Displays a list of received messages for the current user.
      Optional Arguments:
          ``template_name``: name of the template to use.