Q:

what parameter in username = request.data.get('username', '0')

A django rest framework tutorial,has a expression like this:
  username = request.data.get('username', '0')

My question is what dose the parameter '0' mean in this expression?

A:

It will get and value if exists or return '0' if key not exists. 
Description

