Gahyun Son

Gahyun Son @hyun_hyun

About: Hello, I'm a Software developer.

Joined:
Oct 5, 2024

Gahyun Son
articles - 17 total

useContext vs Redux toolkit

I'm a newbie in Redux and React. Recently I've been developing a project with React, and I'm working...

Learn More 0 0Mar 2

Add URLs to the list on the Admin Page Index.

In this post, I'll show you how to add a custom view URL to the list on the admin page index. Here's...

Learn More 0 0Dec 14 '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

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

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

Docker error: port is already allocated

Where is the port allocated? I got an error message when I tried docker compose up. docker...

Learn More 0 0Nov 26 '24

Reflection on Using TDD (Test Driven Development)

When creating an API, if the input and output are not clearly defined, confusion can arise during the...

Learn More 0 0Nov 25 '24

Error response from daemon: driver failed programming external connectivity on endpoint

I just tried to open the page with docker compose up, And I got an error message. Error response...

Learn More 0 0Nov 15 '24

Simple things to design URL

How to design URL? URLs should include nouns, not verbs. User plural nouns only for...

Learn More 0 0Nov 11 '24

If you want to analyze simply, use ProfileReport

If you don't know how to analyze with code or don't have a time, you can simply use ProfileReport...

Learn More 0 0Oct 30 '24

Understanding Response Status Codes in Django REST Framework

When returning a response with data, you can omit the status parameter name if you're using...

Learn More 0 0Oct 24 '24

unittest with get_user_model()

1. Custom User model In Django, you can override the user model provided by...

Learn More 0 0Oct 23 '24

HTTP & content_length

Content_length makes a clear sign between client and server. If you are developing some HTTP methods,...

Learn More 0 0Oct 22 '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

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

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

URI normalization

How to design URL? URLs should include nouns, not verbs. User plural nouns only for...

Learn More 0 0Oct 15 '24