Skocz do zawartości

Aktywacja nowych użytkowników
Zakazane produkcje

  • advertisement_alt
  • advertisement_alt
  • advertisement_alt
Courses2024

Udemy - Django DRF ORM Query Fundamentals

Rekomendowane odpowiedzi

732a7d92ff54282ce9036d2848435202.webp
Free Download Udemy - Django DRF ORM Query Fundamentals
Published: 3/2025
Created by: Very Academy
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz, 2 Ch
Level: Beginner | Genre: eLearning | Language: English | Duration: 77 Lectures ( 10h 13m ) | Size: 4.6 GB

Master database interactions and queries in Django with DRF & PostgreSQL.
What you'll learn
Design and implement relational database tables using Django ORM.
Define models, relationships (One-to-One, One-to-Many, Many-to-Many), and constraints.
Understand and apply primary keys, foreign keys, and unique constraints.
Perform CRUD (Create, Read, Update, Delete) operations efficiently with Django ORM.
Handle bulk inserts, bulk updates, and nested relationships in Django REST Framework.
Implement automated database seeding for initial project setup.
Retrieve data efficiently using all(), values(), only(), filter(), and other ORM methods.
Implement dynamic filtering using query parameters & URL paths in DRF.
Apply ordering, pagination, and duplicate removal for API performance.
Write complex queries using Q Objects, logical operators (AND, OR, NOT), and range filters.
Optimize queries with select_related and prefetch_related for better performance.
Perform SQL JOINs and understand how Django ORM translates them into queries.
Use raw SQL queries and custom querysets when necessary.
Perform COUNT, SUM, AVG, MIN, MAX operations in Django ORM.
Use GROUP BY & HAVING for advanced query results.
Compare field values dynamically with F Expressions.
Implement Django REST Framework serializers, viewsets, and API endpoints.
Handle nested relationships in serializers for complex data structures.
Expose database queries via optimized API endpoints.
Requirements
No programming experience required
Description
This course is designed to help you master Django ORM (Object-Relational Mapping) and Django REST Framework (DRF) to build scalable, database-driven APIs. You'll start from the fundamentals of database design and queries and progress to advanced filtering, joins, and optimizations-all while integrating with DRF to expose your data through APIs.Course OverviewModule 1: IntroductionGet an Overview of the course, its structure, and what you'll achieve by the end.Module 2: Setting Up Your Development EnvironmentInstall and configure VSCode, Docker, and PostgreSQL.Set up Django + DRF in a Dockerized environment for real-world development.Module 3: Defining Database Tables with Django ORMLearn how to define models, relationships (One-to-Many, Many-to-Many, One-to-One), and constraints.Work with common data types like strings, numbers, and booleans.Implement primary keys, foreign keys, and unique constraints.Automate database table creation with PostgreSQL initialization scripts.Module 4: Inserting, Updating, and Deleting DataWork with ViewSets and Serializers to insert, update, and delete records via DRF.Learn bulk operations, nested inserts, and handling related objects.Automate database seeding for quick project setup.Module 5: Querying the Database EfficientlyRetrieve records using all(), values(), only().Implement dynamic filtering with query parameters & URL paths.Handle sorting, pagination, and duplicate removal.Module 6: Advanced Filtering & Query OptimizationUse Q Objects for complex queries (AND, OR, NOT).Apply pattern matching, range filters, and logical operators.Optimize queries using list slicing and efficient filtering techniques.Module 7: Joins & Querying RelationshipsPerform INNER JOINs using Django ORM.Use prefetch_related and select_related for query optimization.Write raw SQL queries when ORM isn't enough.Module 8: Aggregation & GroupingCount, sum, and average values efficiently.Use GROUP BY, HAVING, and field-to-field comparisons for advanced analytics.Why Take This Course?Build real-world, scalable APIs using Django DRF & PostgreSQL.Master Django ORM to work with databases effectively. Optimize queries for performance and scalability.Learn best practices for structuring DRF applications.Who is this for?Developers new to Django DRF and ORM.Backend engineers looking to optimize query performance.Anyone who wants to build efficient, scalable REST APIs.By the end of this course, you'll be confident in designing and querying databases while building production-ready Django REST APIs!
Who this course is for
Anyone looking to learn Django DRF
Homepage:

Ukryta Zawartość

    Treść widoczna tylko dla użytkowników forum DarkSiders. Zaloguj się lub załóż darmowe konto na forum aby uzyskać dostęp bez limitów.



Ukryta Zawartość

    Treść widoczna tylko dla użytkowników forum DarkSiders. Zaloguj się lub załóż darmowe konto na forum aby uzyskać dostęp bez limitów.

No Password - Links are Interchangeable

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Gość
Dodaj odpowiedź do tematu...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

    • 1 Posts
    • 1 Views
    • 1 Posts
    • 3 Views
    • 1 Posts
    • 1 Views
    • 1 Posts
    • 2 Views
    • 1 Posts
    • 4 Views

×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Korzystając z tej witryny, wyrażasz zgodę na nasze Warunki użytkowania.