강의

멘토링

커뮤니티

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

669 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,095

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

  • dongyeon12010348님의 프로필 이미지
    dongyeon12010348

    Reviews 2

    Average Rating 5.0

    5

    100% enrolled

    I studied for 12 hours straight. (Payment at 13:00-14:00, completion at 2:00 AM the next day) I also had experience creating a project with CBV before, but it was a valuable lecture that allowed me to solidify the knowledge and concepts of DRF that I had scattered and didn't know while studying alone! - Tips for those who are thinking of taking this lecture - 1. "This is for readers who have used Django basics and class-type views." This is not a lie. It is difficult for those who are completely new to Django to keep up (at a fast pace). The concepts are explained very well. So you can get a lot of concepts even in short chapters. (This is a lecture with only the essence) 2. From the beginning of the first lecture, you will use the source code that you have already used, so those who are taking the lecture should get the source code from the lecture provided or refer to the last lecture. 3. You can get a lot of basic concepts such as how to use the official documentation, custom output using overriding, etc.

    • kskkck1612님의 프로필 이미지
      kskkck1612

      Reviews 1

      Average Rating 4.0

      4

      31% enrolled

      It's a little different from what I thought.

      • rhkdals32576438님의 프로필 이미지
        rhkdals32576438

        Reviews 1

        Average Rating 5.0

        5

        100% enrolled

        I liked the refactoring part. I had only done FBV, but after doing it with CBV, I was able to use what was already implemented and customize the output part by overriding it, so I learned that this is why Django is so productive.

        • okjung3070260님의 프로필 이미지
          okjung3070260

          Reviews 2

          Average Rating 5.0

          5

          100% enrolled

          I hesitated to buy it because there were few reviews, but I was so happy that the concepts I had built up by searching the internet for a month came out in the first 10 minutes. If I had listened to it earlier, I could have saved a lot of time ㅠㅠㅠ I regret it. As one of the reviewers said, you need to listen to it when you have some understanding of the concepts to be able to hear it more clearly. You can hear the key points explained step by step.

          • hyukster90666님의 프로필 이미지
            hyukster90666

            Reviews 20

            Average Rating 4.8

            5

            100% enrolled

            I think that you need to be able to analyze, inherit, and utilize the source code of Django or DRF to the extent that it is a skill that can be used in the field. Even for small personal projects, you need to inherit all kinds of things. (Not just simple blogs.) I didn't understand DRF at first, so I came this far, but I'm learning the basics well.

            $26.40

            bestdjango's other courses

            Check out other courses by the instructor!

            Similar courses

            Explore other courses in the same field!