Building a REST API With Django REST Framework | Tech Talk

preview_player
Показать описание
Learn how to use the Django REST framework to build robust RESTful APIs using Python, quickly. With a browsable API, robust authentication policies, and object serialization, the Django REST framework is a powerful toolkit that offers an amazing experience for rapidly creating RESTful APIs on top of the popular Python framework Django.

Presented By
Mason Egger, Developer Advocate, DigitalOcean

#Python #RESTAPI #DOTechTalks

- - - - - - - - - -

Subscribe to the DigitalOcean YouTube channel:

Write for DOnations — Share your knowledge and get paid, while supporting tech-focused nonprofits and charities:

- - - - - - - - - -

About DigitalOcean
The DigitalOcean Developer Cloud™ simplifies modern app creation for new generations of developers working independently, at tech startups, and within small-to-medium sized businesses around the world.
Рекомендации по теме
Комментарии
Автор

The best tutorial for an API. Thank you

nicholasedgarkiwanuka
Автор

First time Django developer says thanks! Easy to follow and makes sense. Presenter is entertaining.

BrettBerryum
Автор

Django REST sounds like hell. Good on ya!

blzzzrd
Автор

Great explanation and easy to follow, thank you!

natbibi
Автор

Good explanation. I used your generic view scripts and successfully created my REST API in Django. So thanks! But your video clarity could be a lot better...tough to read the scripts...possibly because of the live streaming?

nairsanty
Автор

This was great, the only issue I'm having is that for some reason after installing drf-spectacular, I can't seem to use it. I'm getting a ModuleNotFoundError: No module named 'drf_spectacular' when trying to import it into the urls

undergroundindy
Автор

Great video man
Guys quick tippp!!! When u want to pass in all fields in your serializer
You can just write:
fields = ‘__all__’ #double underscore all double underscore

ricardocambundo
Автор

Weird, it seems like you can delete stuff without being authenticated, even though the rest framework views are IsAuthenticatedOrReadOnly... how can this be fixed?

undergroundindy
Автор

what http command line package do you use? Im curently using curl but it doesnt seem that practical

Maltipoops
Автор

Nice one bro. Please 🙏 change your recording background. I struggle to see the content on the web, because it is small. And I use mobile in watching this. Try to make it more of full-screen .Thanks

ifexalex
Автор

Such a great lesson.
I did code with you for my Django API but when I try to delete a book by using token it gives "detail": "Method \"DELETE\" not allowed."
But GET, POST, HEAD, OPTIONS are available.
So why DELETE is not allowing using token ?

MrAnikaman
Автор

I just crated an account qnd was charged $1 immediately after deduction my account got locked

sahalmalayil
Автор

Why do we have to see the presenter the ENTIRE video? ZOOM IN on the content. Come on, DigitalOcean.

mortiseandtenon