... | ... | @@ -353,7 +353,7 @@ For more complex Django fields such as *ForeignKey*, *OneToOneField* or *ManyToM |
|
|
|
|
|
## 6.2 - Django models relation serialization
|
|
|
|
|
|
Serializing the relation between Django models can be done in muliple ways and it the main difference between the different base serialization provided by DRF:
|
|
|
Serializing the relations between Django models can be done in muliple ways :
|
|
|
|
|
|
|
|
|
### 6.2.1 - rest_framework.serializers.ModelSerializer
|
... | ... | |