Articles by Tag #drf

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

Leveraging Headers for Dynamic Localization in Django

Ahhhh it's been long I passed here! I was cooking some else as usual. Please calm down, by the end of...

Learn More 7 0Sep 25 '24

Customize Schema with @extend_schema_view

The @extend_schema_view decorator doesn't affect the view logic works. It only customizes the API...

Learn More 1 0Oct 18 '24

Django API | queryset & object, filter() & get()

I tried this unittest. def test_price_of_photo_list(self): photo1 = create_photos() ...

Learn More 1 0Nov 28 '24

DRF captcha своими руками

Вступление. Пришла мне тут по работе задача сделать возможность добавления товара в...

Learn More 1 0May 23

extra_kwargs arguments

I want to set up minimum length to password value. I looked for this argument but just got confused....

Learn More 0 0Nov 27 '24

Djoser+SimpleJWT

I'm using Djoser for authentication in my Django project, and I've noticed that the default behavior...

Learn More 0 0Dec 11 '24

I just tried to compare values between model and serializer

I encountered tests like below. And I want to know why he checked the value through serializer. So, I...

Learn More 0 0Oct 18 '24

To Django or to DjangoREST?

Django and DjangoREST are high level frameworks in Python that might be argued on whether they are...

Learn More 0 0Nov 2 '24

DRF: SerializerMethodField vs DataSerializerField

Оставлю это здесь, как черновик. drf-spectacular плохо дружит с SerializerMethodField. Поэтому я...

Learn More 0 0Feb 4

Seperate serializers

We don't need to define all things in a single serializer. Let's create separate serializers! Then,...

Learn More 0 0Oct 16 '24

Bulletproof Django API for a TMS project

🛡️ Bulletproof Django API for a TMS project 🎓 Introduction In this tutorial, we...

Learn More 0 0Jan 19

Django RF notes #1

What is Django REST Framework? Why DRF over vanilla Django views REST vs RPC — what DRF...

Learn More 0 0Mar 4

AssertionError: 403

The error messages. apple@GH-MacBook-Pro hyunphoto-cbv % docker compose run --rm app sh -c "python...

Learn More 0 0Nov 28 '24

Why Django REST Framework doesn't show your custom validation error messages (and what to do about it)

The GitHub Discussion: link Issue developers face: When developing with Django REST...

Learn More 0 0May 21

🚀 My Developer Portfolio Is Live and Now Fully Responsive!

Bringing your work into production is thrilling—until something breaks and you don’t know why. That’s...

Learn More 0 0Jun 28