Query data in Django

ofrecido por
Coursera Project Network
En este proyecto guiado, tú:

Query Django models using QuerySet methods and Q objects.

Learn how to construct complex queries

Learn how to query across relationships

Clock2 hours
BeginnerPrincipiante
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

In this 1-hour long project-based course, you will learn how to use the QuerySet methods and the Q objects to query data in Django. You will generate a sample project and create a view that populates the database with sample data. You will then learn the syntax of keyword arguments to construct queries using the QuerySet methods. You will create complex queries using the Q objects, and finally you will learn how to query across relationships. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Habilidades que desarrollarás

  • Python Programming
  • Django development
  • Django QuerySet API
  • Object-Oriented Programming (OOP)

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  1. Create the bookstore Django project and its apps

  2. Create the setup view which will automate entry of sample data

  3. Run queries using the QuerySet method get()

  4. Run queries using the QuerySet method filter()

  5. Apply the membership and string lookup types

  6. Query using the QuerySet exclude method and nest filters

  7. Query using Q objects

  8. Query across relationships

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.