Udemy

A Guide to Django ORM | Master the Art of Querying Database

立即報名
  • 2,157 名學生
  • 更新於 1/2022
4.4
(49 個評分)
CTgoodjobs 嚴選優質課程,為職場人士提升競爭力。透過本站連結購買Udemy課程,本站將獲得推廣佣金,有助未來提供更多實用進修課程資訊給讀者。

課程資料

報名日期
全年招生
課程級別
學習模式
修業期
3 小時 14 分鐘
教學語言
英語
授課導師
Prabin Baniya
評分
4.4
(49 個評分)
5次瀏覽

課程簡介

A Guide to Django ORM | Master the Art of Querying Database

Learn about virtual environment, models, migration, meta classes, database relationships, queryset API methods in Django

In this course, you are going to learn various concepts related to Django ORM. Django ORM is a core and powerful component of the Django Framework. Using this ORM, we can simplify the database-related operations in an object-oriented way. In this course, you are going to learn how to model for a Blogging project. The agenda is not to make a blogging site, but to teach you about what can you do with the Django ORM and what Django ORM has to offer, to make your project performant. Then, we will deep dive into querying the database which is the most important section of this course. Without knowing how to query the database, you are never going to feel confident as a Django developer. So, you will be taught different things about queryset API provided by Django ORM in order to interact with the databases. You are going to learn various methods which are used in CRUD operations. Like order_by, values, only, defer, select_related, prefetch_related, Q objects, F expressions, raw SQL query, and many more.

At the end of this course, you will get familiar with the following topics, and you can apply this learning in any Django project.

  1. Virtual Environments

  2. Creating and Setting up Django Project in a virtual environment

  3. Writing Models

  4. Migrations

  5. Django Admin Panel

  6. Database Relationships

  7. Primary Key, Verbose Name

  8. Model Methods

  9. Meta Options

  10. Database CRUD Operation

  11. Using order_by, values, only, defer methods

  12. Performing union, intersection, and difference using Django ORM

  13. Performing field Lookups

  14. Querying Database Relationships

  15. About Q objects, F expression

  16. Select Related and Prefetch Related

  17. Performing raw SQL query

    and many more

課程章節

  • 5 個章節
  • 27 堂課
  • 第 1 章 Installation and Setup
  • 第 2 章 Course Material
  • 第 3 章 Introduction to Models
  • 第 4 章 Querying the Database
  • 第 5 章 Further Study Material

課程內容

  • Creating Virtual Environment in Python and Setting Up Django Project in that virtual environment., Writing Models in Django, Performing CRUD Operation via Django ORM, Learning about different queryset API provided by Django ORM like order_by, values, only, defer, select related, prefetch related, Getting Familiar with Q objects and F expressions


評價

  • M
    Mohamed Remmane
    4.0

    Actually the course is good for beginners in django but Not advanced

  • C
    Christian Hettlage
    4.0

    The course provides a decent introduction to Django's ORM. However, for a course focusing solely on this part of Django one might have expected a broader coverage of more advanced topics.

  • S
    Sanjay kumar Kharbind
    5.0

    nice description each topics

  • T
    Thomas CAMPOS
    5.0

    Excellent course. We go step by step, and also deeply. Thanks a lot. Greetings from France.

立即關注瀏覽更多

本網站使用Cookies來改善您的瀏覽體驗,請確定您同意及接受我們的私隱政策使用條款才繼續瀏覽。

我已閱讀及同意