Look at the DRF documentation.
https://www.django-rest-framework.org/api-guide/serializers/#writable-nested-representations
On Tue, Oct 27, 2020 at 7:50 PM C G wrote:
> Hello, i have a question regarding writable nested serializers, i have two
> models that are related through a OneToOne relati
Hello, i have a question regarding writable nested serializers, i have two
models that are related through a OneToOne relationship, when i try to
serialize the data from the request (which is in 'form-data' format because
it contains an Image file) it fails, i overrided the 'create' method as th
Thank you Rahul for the vedio link and quick response
On Tuesday, 27 October 2020 at 09:26:54 UTC rsalg...@gmail.com wrote:
> https://youtu.be/rJWAGQ0JxxI
>
> This series helped me
>
> On Tue 27 Oct, 2020, 2:44 PM brijesh dutta
>> What is the best practice to implement user registration, login,
Hi all!
I have created a new package called Django-Rest-Durin.
It is built with the idea to have one library that does token auth for
multiple Web/CLI/Mobile API clients via one interface but allows different
token configuration for each API Client that consumes the API. It provides
support
On Tue, Oct 27, 2020 at 12:06 AM Adam Fletcher wrote:
> Hi Folks,
>
> I have a custom user model that has a property called 'name' that returns
> the username.
>
> I want to use this property in a ModelSerializer like so:
>
> owner = serializers.HyperlinkedRelatedField(
> read_only=Tr
https://youtu.be/rJWAGQ0JxxI
This series helped me
On Tue 27 Oct, 2020, 2:44 PM brijesh dutta What is the best practice to implement user registration, login, log out
> using drf api,
>
> could anyone suggest any documentation or videos will be really helpful
>
>
> thank you
>
> --
> You receive
What is the best practice to implement user registration, login, log out
using drf api,
could anyone suggest any documentation or videos will be really helpful
thank you
--
You received this message because you are subscribed to the Google Groups
"Django REST framework" group.
To unsubscrib