anyone solve this problem

46 views
Skip to first unread message

Praveen chaduvala

unread,
Jan 8, 2021, 6:43:48 AM1/8/21
to Django REST framework

Xavier Ordoquy

unread,
Jan 8, 2021, 7:56:27 AM1/8/21
to django-res...@googlegroups.com
Hi,

The Django REST Framework tutorial, step6 should show you how to do that.
The SnippetViewSet uses the SnippetSerializer to set the current user as the owner of the snippet created.

Regards,
Linovia,
Xavier O.

Le 8 janv. 2021 à 12:43, Praveen chaduvala <pchad...@gmail.com> a écrit :

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/3c63250a-22f3-43f7-bcfd-833e422be73an%40googlegroups.com.

Praveen chaduvala

unread,
Jan 8, 2021, 8:52:53 AM1/8/21
to django-res...@googlegroups.com
Thank you for your response.
I got the answer in someone's tutorial.

Reply all
Reply to author
Forward
0 new messages