Django Rest Framework Series - Build a Django DRF Quiz API - Part-1

preview_player
Показать описание
This is a Django Rest Framework Quiz API project. In the following series of tutorials we will go through the Django Rest Framework and in addition build a React application to consume our Django Rest API. In this tutorial we work through a little bit of API theory then start to build a simple application in Django - based around a Quiz API application.

00:00 Introduction
02:07 Step 1 - Start Django Project -Setup
07:34 Step 2 - Models
25:05 Step 3 - Configure Admin
31:48 Step 4 - Views and Serializers

✨ Support us - join us as a very academy member

Code Repository:

👍SUBSCRIBE to get more free tutorials, courses and code snippets!

👍👍Follow us on Facebook

👍👍👍Follow use on Twitter:
Рекомендации по теме
Комментарии
Автор

Incredible class. When I watch your videos I feel like I can do anything I want with Django! You explain all the details so well, everything settles down.

SinanZen
Автор

Amazing tutorial... Actaully better than paid tutorials.. Thankyou for this incredible content

anzindh
Автор

Nice tutorial, two things to mention:
1. I would not recommend on_delete=DO_NOTHING .
2. I would not abbreviate api paths because it would be harder to interpret on the front end.

Explanation for 1.: By default, on_delete=COLLAPSE or PROTECT should be set I think (collapse removes all dependent data, protect disables deleting data with dependents). Otherwise you may get database integrity erros or surprising errors popping up in production. (I think we usually expect book.owner to be present if it has an id and not to throw an error.)

barnabasszabolcs
Автор

This is a really incredible series. Love the way you explain and build out these robust projects to reinforce concepts.

richardhoppe
Автор

I think i ll just watch all your videos, i m really learning a lot with you. Thx!

nicocouss
Автор

😍 Thank you! Your DRF tutorials are awesome.

rooneymara
Автор

In my opinion, it was a good opportunity to introduce models.Manager here and get random quiz from Manager level - not only for efficiency but also for learning reasons.

ihdi
Автор

Man! You are god sent
BEST CHANNEL EVER

silentcicada
Автор

Another great video, Thanks! Really helped me to untangle my messy models 😂

Mike-fduf
Автор

Thanks for this priceless project. Liked before view...

oauth
Автор

Great Tutorial to follow along. Very helpful.

uljhe_hue_wires_ka_khambha
Автор

Awesome vid, looking forward for the whole series, thanks man🙏👍🏻

pravarsharma
Автор

The much awaited series 🔥🔥🔥...hope the front-end comes with a blend of Vue 3.0 later at some point... Thanks Zander 🙏

codedjango
Автор

Thanks for the tutorial, elaborate and easy to understand.

abrahamngetich
Автор

You got yourself a lifetime subscriber!

silentcicada
Автор

10:10 I think you got it mixed up. What would happen by default is that if your category gets deleted, then all the quizzes referencing it would be deleted too, not the other way around

samuelebonini
Автор

Amazing DRF tuto, thank you sooo much

ahmed-zeini
Автор

Doesn't on_delete specify an action to take when the REFERENCED model is deleted? That is if the category gets deleted and on_delete would be CASCADE, the quiz would get deleted too, not the other way around.

somMelon
Автор

Thank you so much for the video, one of the best tutorials on serializer I have come across.
How do I create a custom model manager for the randomquestions? would you please help me with this?

Foxdon
Автор

How do we perform a post and update using APIView post and put method and not from admin panel? please make a videos on that

amangautam