James Bennett - Django in Depth - PyCon 2015

  Рет қаралды 33,921

PyCon 2015

PyCon 2015

Күн бұрын

"Speaker: James Bennett
This is a tutorial that goes beyond most tutorials; it's meant for developers who already know a bit about Django and want to really understand the inner guts of the framework. This tutorial will not involve writing code or apps; rather, it'll be a deep tour of the workings and APIs of Django itself, across all the bundled components and at all levels of the stack.
Slides can be found at: speakerdeck.co... and github.com/PyC..."

Пікірлер: 32
@sssswwwwllll
@sssswwwwllll 7 жыл бұрын
0:00:00 Introduction 0:00:30 Recommended audience 0:00:54 Introduction of speaker 0:01:36 Introduction of the talk 0:03:49 ORM 0:05:08 __ DB Backend 0:06:10 ______ DatabaseWrapper 0:07:19 ______ DatabaseOperations 0:08:04 ______ DatabaseFeatures 0:08:47 ______ DatabaseCreation 0:09:12 ______ DatabaseIntrospection 0:10:44 ______ DatabaseSchemaEditor 0:11:16 ______ DatabseClient 0:11:35 ______ Should you write a DB Backend? 0:12:21 ______ DB Backend Q&A 0:13:21 __ SQL Compiler 0:17:09 __ Query 0:22:19 ______ Query Expression and Function 0:31:00 __ QuerySet 0:37:30 ______ QuerySet Useful Methods 0:47:12 __ Managers 0:51:48 __ Models 0:52:34 ______ Model Metaclass 0:56:59 ______ Model Fields 1:00:42 ______ Model Inheritance 1:00:19 __________ Abstract Models 1:02:44 __________ Multi_Table Inheritance 1:03:40 __________ Proxy Models 1:00:00 ______ Unmanaged Models 1:07:19 ______ Models Q&A 1:07:44 Forms Library 1:08:46 __ Widgets 1:11:00 __ Fields 1:17:40 __ Forms 1:30:08 __ ModelForm 1:36:12 __ Form Media 1:39:24 __ Forms Q&A 1:44:44 Template System 1:45:56 __ Template Engines 1:47:16 __ Template Loaders 1:50:27 __ Template Objects 2:00:00 __ The Django Template Language 2:01:18 __ Template Context 2:04:51 __ RenderContext 2:08:05 __ Template Q&A 2:14:00 Request and Response Processing 2:28:26 Views 2:35:04 Q&A 2:43:23 Extra: Django Admin (code) 2:52:38 Extra: Django Admin (slides)
@some84884
@some84884 7 жыл бұрын
Wow, thank you a lot!
@MagnusAnand
@MagnusAnand 4 жыл бұрын
Thanks. Much needed
@definty
@definty 3 жыл бұрын
Django Template Language at 1:00:00 should be 2:00:00 Thanks for your time :)
@mimmyjau
@mimmyjau Жыл бұрын
thank you
@DeepSukhwani
@DeepSukhwani 4 жыл бұрын
For me, this was probably the best explanation of N+1 problem in ORMs and how Django solves it using `select_related` - exactly at 42:47
@MagnusAnand
@MagnusAnand 3 жыл бұрын
Around 2:15:18 James mentions that the only entry point Django supports is WSGI. It´s important to mention that today Django supports also ASGI
@MagnusAnand
@MagnusAnand 3 жыл бұрын
* ASGI: An entry-point for ASGI-compatible web servers to serve your project. See How to deploy with ASGI for more details. * WSGI: An entry-point for WSGI-compatible web servers to serve your project. See How to deploy with WSGI for more details.
@RosanaRuFer
@RosanaRuFer 24 күн бұрын
This is really good 😮Great content, structure and delivery. Who can talk so clearly for three hours about the Django ORM internals?
@renaton3992
@renaton3992 6 жыл бұрын
This guy realy knows django...
@guinsly2mondesir
@guinsly2mondesir 8 жыл бұрын
This talk is so usefull!!! thanks James Bennett !
@aleksandrsamuraev5028
@aleksandrsamuraev5028 3 жыл бұрын
Really helpfull video! Is there a book that also covers the internal implementation mechanisms well and explains why it did like in this video? Rather than being superficial like most of the current books about django... Thanks.
@MagnusAnand
@MagnusAnand 4 жыл бұрын
awesome presentation!
@addychavs822
@addychavs822 3 жыл бұрын
Truly Amazing 🙌
@briandethloff2451
@briandethloff2451 3 жыл бұрын
At 35:28, the speaker mentions that QuerySet is lazy, pulls from a cache, etc. How do I re-execute the query? I'm currently having some problems with this on my site where the queries don't update until the user has started a new session. I only started having this issue when I switched my views from function to class-based. Thanks for the help and thanks for the material. I should comment that in the template, I iterate through the query, which he says at 37:11 should force a new query, but not in my case. Does the iteration have to occur in the view?
@jesusmgw
@jesusmgw 9 ай бұрын
This talk: Looks like it's from 1995. It's actually from 2015. Is still useful in 2025.
@armlocked1
@armlocked1 6 жыл бұрын
Slides: media.b-list.org/s/django-in-depth-2015.pdf
@roshanmhatre8810
@roshanmhatre8810 2 жыл бұрын
Thank you for sharing 😊
@smoothbeak
@smoothbeak 6 жыл бұрын
Can anyone tell me in June 2018 if this video is still relevant as it's a few years old now? (In terms of how the Django code base has changed over the last three years)
@mohamedtahafci
@mohamedtahafci 5 жыл бұрын
Still Relevant even in 2019
@macas-academy4712
@macas-academy4712 4 жыл бұрын
still relevant in 2020
@pedrocampos6530
@pedrocampos6530 3 жыл бұрын
@@macas-academy4712 thanks
@kevinwang4573
@kevinwang4573 8 жыл бұрын
old got this guy.!!!LOL!!! thanks again!
@pulkitagrawalCFA
@pulkitagrawalCFA Жыл бұрын
found thew talk to be useful even in 2023
@mateuszkurowski4510
@mateuszkurowski4510 6 жыл бұрын
Where are the slides?
@armlocked1
@armlocked1 6 жыл бұрын
I found here: media.b-list.org/s/django-in-depth-2015.pdf
@MagnusAnand
@MagnusAnand 4 жыл бұрын
Marcello Benigno thanks!
@andreas_bergstrom
@andreas_bergstrom 5 жыл бұрын
This is like a slideshow of the API-docs. He should have used some illustrations.
@engkortheng
@engkortheng 9 жыл бұрын
this guy got old
@erikisidore8366
@erikisidore8366 8 жыл бұрын
+engkortheng old got this guy
@wencesmoreno4912
@wencesmoreno4912 4 жыл бұрын
guy this old got
@shashishekhar----
@shashishekhar---- Жыл бұрын
got old guy this
Raymond Hettinger - Super considered super! - PyCon 2015
46:52
PyCon 2015
Рет қаралды 123 М.
WSGI for Web Developers (Ryan Wilson-Perkin)
24:52
PyCon Canada
Рет қаралды 95 М.
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 130 МЛН
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 2,4 МЛН
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
Greg Ward - How to Write Reusable Code - PyCon 2015
29:52
PyCon 2015
Рет қаралды 45 М.
Brandon Rhodes - Pandas From The Ground Up - PyCon 2015
2:24:58
PyCon 2015
Рет қаралды 214 М.
Radoslav Georgiev - Django structure for scale and longevity
45:27
EuroPython Conference
Рет қаралды 47 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 548 М.
Linus Torvalds on why desktop Linux sucks
11:07
gentooman
Рет қаралды 1,4 МЛН
"Django Best Practices" by Scott Woodall
48:37
Six Feet Up
Рет қаралды 4,3 М.
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 130 МЛН