일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- 코딩테스트
- PYTHON
- yaml
- Postman
- 백엔드 인턴십
- 프리온보딩
- 람다함수
- sqlalchemy
- Django
- todo project
- self
- cerbot
- Comprehension
- 집계함수
- mock server
- 클래스
- spring boot
- Jar배포
- 토이프로젝트
- 프로그래머스
- API
- 파이썬
- numpy
- 파이써닉코드
- 조건연산
- 컴프리헨션
- EC2
- 함수
- RDS
- 행렬곱
- Today
- Total
build my life
[DRF] View 관련 자료 - 공부법 본문

1. ModelViewSet 부터 공부할 것
2. mixins를 모아서 generics를 만들고 generics를 모아 viewset을 만듦
- 예시) GenericAPIView + CreateModelMixin = CreateAPIView

https://www.django-rest-framework.org/api-guide/viewsets/
Viewsets - Django REST framework
viewsets.py After routing has determined which controller to use for a request, your controller is responsible for making sense of the request and producing the appropriate output. — Ruby on Rails Documentation Django REST framework allows you to combine
www.django-rest-framework.org
Django REST Framework 3.14 -- Classy DRF
What is this? Django REST framework is a powerful and flexible toolkit that makes it easy to build Web APIs. It provides class based generic API views and serializers. We've taken all the attributes and methods that every view/serializer defines or inherit
www.cdrf.co
Django Class-Based-View Inspector -- Classy CBV
What are class-based views anyway? Django's class-based generic views provide abstract classes implementing common web development tasks. These are very powerful, and heavily-utilise Python's object orientation and multiple inheritance in order to be exten
ccbv.co.uk
'Django' 카테고리의 다른 글
[DRF] 직렬화란? (0) | 2023.07.21 |
---|---|
[DRF] Serializer : dict-like (0) | 2023.07.21 |
[DRF] Router (0) | 2023.07.17 |
[DRF] 인증 기능 오버뷰 (0) | 2023.07.17 |
[Django] 기본 내장 DB 생성 - SQLite (0) | 2023.04.18 |