mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Fix a typo in the 3.8 announcement (#5940)
This commit is contained in:
parent
7078afa42c
commit
d5fe1f66ac
|
@ -50,7 +50,7 @@ the view:
|
||||||
def perform_create(self, serializer):
|
def perform_create(self, serializer):
|
||||||
serializer.save(owner=self.request.user)
|
serializer.save(owner=self.request.user)
|
||||||
|
|
||||||
Alternatively you may override `save()` or `create()` or `update()` on the serialiser as appropriate.
|
Alternatively you may override `save()` or `create()` or `update()` on the serializer as appropriate.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user