Inline form set

Dear All,

how to use inline form set. In Django documentation, there is only add the detail which related to master which already exists. How to add both master and detail at the same time using Inline form set.

best regards,
kimhong