강의

멘토링

로드맵

Inflearn brand logo image
BEST
Programming

/

Back-end

Django REST Framework Essentials

"DRF, let's use it knowing this." As the first instructor of Class View, this is a class where you can properly use DRF classes and learn inheritance and overriding accurately. Let's learn the core basics properly!

(4.5) 51 reviews

668 learners

  • bestdjango
3시간 만에 완강할 수 있는 강의 ⏰
Django
REST API

Reviews from Early Learners

What you will learn!

  • How to use and override DRF generic view / router / viewset

  • Why use and leverage the DRF serializer

  • Difference between Django and DRF

  • New approach to DRF serializer

If you are a DRF beginner, you must know
Learn the core fundamentals and how to override them 🥰

DRF is for Django developers
This is a framework that you must study.

Django REST framework (DRF) is a framework that connects clients with REST APIs, and is used when linking with mobile apps or recently popular SPA clients (React/Vue/Angular). It is also a framework that must be studied as the next step after starting out as a Django developer.
We will teach you the essentials for DRF beginners and various overriding methods.

Django REST framework
Easily create a Restful API server in Django
Open source libraries to help you build


Background of lecture planning

DRF seems easy at first, but it often gets stuck because you are not familiar with class inheritance/overriding and how to use serializers. Django's CBV and DRF use a common technology called class. As the number one instructor for CBV, I would like to explain how to properly use DRF classes.

(Serializer)

Serializers are the elements that make DRF difficult, so we will reveal the identity of Serializers and also introduce new methods. You can learn the exact understanding of DRF core and how to override it in various ways.


Student's concerns

😵 I'm not immediately sure how to apply the functional requirements to DRF.
We will tell you exactly what each DRF class does and why it is used.

🤔 I want to be able to freely override/customize as I want.
We will guide you through various overriding methods of class-type views and explain how to follow the source.

😢 DRF seems easy at first, but it gets clogged often.
The sample codes in the DRF tutorial do not clearly show the workings behind them. We will explain in detail the meaning and usage of the sample codes.


Lecture Features ✨

  • You can get practical experience by targeting an actual blog app.
  • As the first instructor of Class View, you can learn DRF inheritance/overriding accurately.
  • Beyond simple usage, it provides reasons for using serializers and new ways to use them.
  • We've edited the video to eliminate idle time, to save you study time.

What you'll learn 📚

1. Follow the official documentation Example

You will learn the differentiating features of DRF by following the example code that you first encountered in the official documentation. It is a powerful but not easy to apply feature, but you will learn how to make it your own.

2. Create an API using DRF

Study the main features of DRF and use them to code the API endpoints you need. Create an API targeting a real blog app to get a feel for the real world and learn the essential key points in the process.

3. Meeting client requirements

In an actual project, it is important to match the client and the linkage format. You must have the ability to respond whenever the linkage format changes. You will learn various overriding methods for this.


Expected Questions Q&A 💬

Q. I'm new to Django. Can I still take the course?

This book is for readers who have experience using Django basics and class-type views. Based on this, you will learn about inheritance and overriding methods.

Q. What is the scope of DRF’s lectures?

We will cover Serializer, generic view, viewset, router, and auth/permission/throttle/versioning etc. in other lectures.

Q. How is Inflearn different from other lectures?

Other lectures coded the API with Django Class Views (CBV), and this lecture codes the API with DRF. If DRF is easy, I recommend using DRF right away, and if it is difficult, I recommend learning CBV first and then using DRF.

Q. What are the lecture versions and environments?

The course will be taught using the latest versions of Python v3.10, Django v 4.0, and DRF v 3.13.1 as of January 2022 , but you can also learn with other versions. The course will be taught using the free version of PyCharm, but you can also learn with other editors.

Recommended for
these people

Who is this course right for?

  • If you want to know and use the key points of DRF properly

  • If you want to use DRF serializer easily

  • If you want to freely inherit and override DRF

Need to know before starting?

  • Django Basics and Class-Based View Experience

Hello
This is

2,090

Learners

153

Reviews

224

Answers

4.6

Rating

5

Courses

프로그램 개발은 C 언어로 시작했으며, 자바를 거쳐 최근에는 주로 파이썬을 사용하고 있다.
KT ucloud 서비스의 백엔드 서버 개발 프로젝트에 참여하여, 자바로 고객의 폴더/파일에 대한 메타 정보 처리 엔진을, 파이썬으로 클라이언트 푸시 서비스를 개발하였다.

또한 KT인터넷 회선의 속도 측정 프로그램, 네트워크 장비에 대한 운용관리 프로그램, 방대한 양의 트래픽 데이터 분석 프로그램을 개발한 바 있다. 개인적으로는 파이썬의 매력에 푹 빠져 되도록이면 파이썬으로 코딩하기를 즐겨하고 있다.

그 일환으로 요즘은 Django를 활용한 웹 프로그래밍, Django Rest Framework를 활용한 JSON 연동, Pandas를 활용한 데이터 분석, Scikit-learn/Tensorflow/ChatGPT 를 활용한 AI 솔루션 개발 등의 프로젝트를 개발하면서 파이썬의 활용도를 넓혀가고 있다.

< 저서 >

1. Django 로  배우는 파이썬 웹 프로그래밍 (초판, 한빛미디어, 2015.4월)
2. Django 를 활용한 파이썬 웹 프로그래밍 - 실전편 (초판, 한빛미디어, 2016. 7월)
3. Django 로  배우는 파이썬 웹 프로그래밍 (개정판, 한빛미디어, 2018. 8월)
4. Django 를 활용한 파이썬 웹 프로그래밍 - 실전편 (개정판, 한빛미디어, 2019. 11월)
5. Django 로  배우는 파이썬 웹 프로그래밍 (3판, 한빛미디어, 2022. 11월)

 

< 동영상 강의 >

1. Vue.js - Django 연동 웹 프로그래밍 (인프런 동영상, 2019.4월)
2. Vue.js - Django 연동 웹 프로그래밍 - 실전편 (인프런 동영상, 2020.9월)
3. Vue - Django - Bootstrap 뚝딱 블로그 (인프런 동영상, 2021. 9월)
4. Django REST framework 핵심사항 (인프런 동영상, 2022.2월)
5. AI Web Programming (인프런 동영상, 2024.2월)

Curriculum

All

37 lectures ∙ (3hr 24min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

51 reviews

4.5

51 reviews

  • 김동연님의 프로필 이미지
    김동연

    Reviews 2

    Average Rating 5.0

    5

    100% enrolled

    12시간동안 정리하면서 정주행했습니다. (13-14시 결제, 다음날 새벽 2시 완강) 저 또한 이전에 CBV로 프젝을 만들어본 경험이 있지만, 혼자 공부하면서 흩어지고 알지못했던 지식과 DRF의 개념을 단단히 다질 수 있었던 값진 강의이었습니다! - 이 강의를 들으실 생각이 있으신 많은 분들께 팁 - 1. "Django 기본과 클래스형뷰를 사용해본 독자를 대상으로 합니다." 이 말 거짓말 아닙니다. 아예 장고를 처음 하시는 분들은 (속도가) 따라오기 어렵습니다. 개념은 아주 잘 설명해주십니다. 그래서 짧은 챕터에서도 많은 개념을 얻을 수 있습니다. (액기스만 있는 강의입니당) 2. 첫 강의 시작부터 이미 사용하시던 소스를 쓰시는데, 강의 들으시는 분들은 제공해주시는 강의에서 소스를 받으시거나 가장 마지막 강의를 참고해주세요. 3. 공식문서를 활용하는법, 오버라이딩을 활용한 커스텀 출력 등 많은 기본 개념을 얻을 수 있습니다.

    • 김승구님의 프로필 이미지
      김승구

      Reviews 1

      Average Rating 4.0

      4

      31% enrolled

      생각했던 내용과 조금 다르긴 하네요.

      • 노광민님의 프로필 이미지
        노광민

        Reviews 1

        Average Rating 5.0

        5

        100% enrolled

        리팩토링 하는 부분이 좋았습니다. FBV만 해왔었는데 CBV로 하고나니 이미 구현되어있는 것을 사용하고 출력부분은 오버라이딩을 해서 커스텀하는걸 해보고나니 이래서 장고가 생산성이 높다고 하는구나 라고 알게되어서 좋았습니다.

        • 구름곰님의 프로필 이미지
          구름곰

          Reviews 2

          Average Rating 5.0

          5

          100% enrolled

          수강평이 적어서 구매를 망설였는데 한달간 인터넷을 뒤지며 찾아가며 세웠던 개념이 처음 10분 부터 나와서 너무 좋았습니다. 진작 들었다면 많은 시간을 아낄 수 있었을텐데 ㅠㅠㅠ 후회됩니다. 리뷰의 어느분이 이야기 해주신 대로 개념이 어느 정도 있는 상태에서 들어야 더 귀에 쏙쏙 들어옵니다. 차근차근 핵심을 설명을 들을 수 있습니다.

          • 김동혁님의 프로필 이미지
            김동혁

            Reviews 20

            Average Rating 4.8

            5

            100% enrolled

            Django나 DRF나 소스 보면서 분석해서 상속받아서 활용할 정도는 되야 현업에서 쓸 수 있는 실력이라 할 수 있네요.. 개인 프로젝트 작은거만 해도 온갖 상속은 다받아야되는 부분이라..(단순 블로그 이런거 말구..) DRF 처음에 이해가 안되서 여기까지 왔는데 기본기 잘 다지고 갑니다.

            $26.40

            bestdjango's other courses

            Check out other courses by the instructor!

            Similar courses

            Explore other courses in the same field!