Study Log

์นด์นด์˜ค ๋กœ๊ทธ์ธ

Ref

Postman์„ ํ†ตํ•œ Token Test

Ref

์ธ์ฆ๊ณผ ์ธ๊ฐ€

Ref

Django ๊ธฐ๋ณธ ์œ ์ € ๋ชจ๋ธ ํ™•์žฅํ•˜๊ธฐ .

Ref

Django Database ์—ฐ๊ฒฐ

Ref

Django Rest Framework, Serializer, View Concept

Ref

Django Rest Framework ์ถ”์ƒํ™” ์ •๋„์— ๋”ฐ๋ฅธ ๋„๊ตฌ๋“ค

Ref

Class-based Views

Ref

Creating views and serializers โ€” Django Rest Framework

Ref

API View vs Viewsets

Ref

Viewsets & Routers

Ref

ModelViewSet ๋™

Ref

API for resource with tags with django and DRF

Ref

Django get_or_create ํ•จ์ˆ˜

Django update_or_create ํ•จ์ˆ˜

Ref

Django get_object_or_404

Ref

์žฅ๊ณ  ๋‹ค๋Œ€๋‹ค ๋ฐ์ดํ„ฐ ์ถ”๊ฐ€

my_obj.categories.add(fragmentCategory.objects.get(id=1))

or

my_obj.categories.create(name='val1')
Ref

์žฅ๊ณ  HTTP Status code

HTTP_100_CONTINUE
HTTP_101_SWITCHING_PROTOCOLS

Ref

How to count number of items in queryset ?

def get_answer_cnt(self, obj):
        result = self.get_answers(obj)
        return len(result)

Django REST framework Serialization of ManyRelatedField

Ref

๋‹ค์ค‘ ์ด๋ฏธ์ง€ ์—…๋กœ๋“œ

Ref

Django Pagination

Ref

์ถ”์ฒœ/๋น„์ถ”์ฒœ ์•Œ๊ณ ๋ฆฌ์ฆ˜

Ref

ํ•„ํ„ฐ๋กœ ํ•˜๋‚˜ ์ด์ƒ์˜ ๊ฐ์ฒด ๋ฐ˜ํ™˜

Model.objects.filter(field_name=some_param)
Ref

์ค‘์ฒฉ ๋Œ“๊ธ€ ๊ตฌํ˜„

Ref

DRF ๊ฒŒ์‹œ๊ธ€, ๋Œ“๊ธ€ ์‹ค์Šต

Ref

React Form ๋ฐ์ดํ„ฐ ์ „์†ก

Ref

TinyURL๊ฐ™์€ URL ๋‹จ์ถ• ์„œ๋น„์Šค๋ฅผ ์„ค๊ณ„ํ•˜๊ธฐ

Ref

Django REST Framework OneToMany ๊ด€๊ณ„ Serializer์— ์ถ”๊ฐ€

Ref

Tags

Ref

Create an abstract model in Django

Ref

Django Model ์ƒ์† (Inheritance)

Ref

BooleanField

Ref

Python Dictionary ํ™œ์šฉ

Ref

์ฝ”๋“œ ์ž๋™ ์ •๋ ฌ , ํฌ๋ฉงํŒ…

Ref

์žฅ๊ณ ์—์„œ์˜ ๊ถŒํ•œ

Ref

ํ—ค๋” ํ† ํฐ์— ์œ ์ € ์ •๋ณด ๊ฐ€์ ธ์˜ค๊ธฐ

user =  self.context['request'].user
Ref

Django exists check

Ref

Notification - ์•Œ๋ฆผ

Synchronize Postman collections with the API

Ref

CDN

Implementing an Interface in Python

Ref

์—ญ์ฐธ์กฐ ๋ฐ์ดํ„ฐ ๊ฐ€์ ธ์˜ค๊ธฐ

Ref

How to change Djnago APp name

Ref

Django๋ฅผ MySQL ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์—ฐ๊ฒฐ

Ref

Django create superuser

Ref

Trouble Shooting

Ref

Django naming convention

Ref

Settings

Ref

django logging

RESTful API in Django

Ref

link

django-rest-framework - snippets - django rest framework tutorial

[Django] ViewSet ๊ณผ Router

Django REST Framework ํŠœํ† ๋ฆฌ์–ผ 6 (ViewSets & Routers)

DRF3 ํŠœํ† ๋ฆฌ์–ผ

6 - ๋ทฐ์…‹๊ณผ ๋ผ์šฐํ„ฐ

2 - ์š”์ฒญ๊ณผ ์‘๋‹ต

02. Django Rest Framework, Serializer, View ๊ฐœ๋… ์ตํžˆ๊ธฐ

10 things you need to know to effectively use Django Rest Framework

Build a REST API in 30 minutes with Django REST Framework

Django REST framework๋กœ ๊ฒŒ์‹œํŒ CRUD (1) | board

Django REST Framework ํŠœํ† ๋ฆฌ์–ผ (Quickstart)

Django REST Framework - Serializer relations

Python ๊ฐ€์ƒํ™˜๊ฒฝ - mac

Ref

Trouble Shooting 2

tq

The serializer field might be named incorrectly and not match any attribute or key on the BoundField instance. Original exception text was: 'BoundField' object has no attribute ''

You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to ''(note the trailing slash), or set APPEND_SLASH=False in your Django settings.

html๋กœ ์ฃผ๋Š”๊ฑฐ json์œผ๋กœ ์ฃผ๋„๋ก serialize ํ•ด์ค˜์•ผ ํ•˜๋Š”๊ฑฐ์˜€์Œ.

[Python][Django] TypeError : ~ is not JSON serializable ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

python json ๋ชจ๋“ˆ ์‚ฌ์šฉ์‹œ Not JSON serializable ์—๋Ÿฌ๋ฅผ ํ”ผํ•˜๋Š” ๋ฐฉ๋ฒ•

TypeError: In order to allow non-dict objects to be serialized set the safe parameter to False.

AttributeError: 'Page' object has no attribute 'valuesโ€™

[Django] ์—๋Ÿฌ : object has no attribute subject

  • django has no attribute subject

ํƒœ ๋ชจ๋ธ ์•„๋‹ˆ๊ณ  serilazation ์ˆ˜์ •ํ•˜๊ณ  ์žˆ์—ˆ์–ด ์ด๋Ÿผ

Django & Postman: 403 CSRF verification failed?

DRF Blank Error ํ•ด๊ฒฐํ•˜๊ธฐ

save() got an unexpected keyword argument 'commit' Django Error

AssertionError: 'commit' is not a valid keyword argument to the 'save()' method. If you need to access data before committing to the database then inspect 'serializer.validated_data' instead. You can also pass additional keyword arguments to 'save()' if you need to set extra attributes on the saved model instance. For example: 'serializer.save(owner=request.user)'.โ€™

django rest postman ์ด ํ•„๋“œ๋Š” ํ•„์ˆ˜ ํ•ญ๋ชฉ์ž…๋‹ˆ๋‹ค

Django rest framework_2. ํฌ์ŠคํŠธ๋งจ(POSTMAN) ์‹œ์ž‘ํ•˜๊ธฐ

Django Serializer is_valid

[Django] ์žฅ๊ณ  Form ๊ณผ Serializer ๋น„๊ต

DRF ์‹คํ–‰ ๊ด€๋ จ ์—๋Ÿฌ๋“ค

JsonResponse Django Rest Framework

Django REST framework JSON response

[Django] 403 forbidden Error ํ•ด๊ฒฐํ•˜๊ธฐ (CSRF token)

Request and response objects

Ref

Django์—์„œ JSON ์‘๋‹ต ์ƒ์„ฑ

Ref

django multi database

Ref

์žฅ๊ณ  ๊ด€๋ฆฌ์ž

Ref

Django, Form ์ด๋ž€ ๋ฌด์—‡์ธ๊ฐ€ ?

Ref

Django REST framework official docs

Ref

Many-to-Many Modeled REST API with Django Rest Framework

Ref

link

  • this is github repo

django rest framework many to many create

The right way to use a ManyToManyField in Django

  • Field defines a relation with model '', which is either not installed, or is abstract.

Django 9. ManyToManyField 1

์žฅ๊ณ  ํ† ํฐ ์ธ์ฆ

Ref

Pagination

Ref

Searching

Ref

How to add Search functionality to a Django REST Framework powered app

Django REST Framework - Serializers

Ref

link

[DRF] ์ง.๋ ฌ.ํ™” !

Django 28 - Django-RestFramework(DRF)๋ฅผ ์ด์šฉํ•œ API ๊ตฌํ˜„

Creating a REST API with Django REST Framework

Django REST Framework ๋ฝ€๊ฐœ๊ธฐ 1

Django REST Framework + Postman

Ref

Django security checklist

  • checklist ํ•˜๋‚˜์”ฉ ๋นผ๋‚ด์„œ ์ž‘์„ฑํ•˜๊ธฐ

Ref

Last updated