Django 5.1 - New Features! LoginRequiredMiddleware | {% querystring %} template tag

preview_player
Показать описание
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:

In this video, we'll look at new Django 5.1 features, including:
* LoginRequiredMiddleware - to make views require authentication by default
* {% querystring %} - to make query-string handling easy!
* PostgreSQL connection pooling
* Admin list_display option with foreign key fields

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Django 5.1 Intro
02:50 LoginRequiredMiddleware
08:32 querystring template tag
15:59 PostgreSQL connection pooling
17:41 Admin list_display with Foreign Key field

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:

📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:

#python #django
Рекомендации по теме
Комментарии
Автор

Thanks alot @BugBytes for this video. I have been waiting for this since the release of Django 5.
Amazing features. The Django community keeps making me fall more in love with Django with each new released features. And they make things so simple and straightforward. Thanks to the Django community out there, I really appreciate your efforts and hardwork. 😊

awesomejr.
Автор

yes Plz we want All changes in Django5 to be covered, the "before" and "after" method u doing is really great.

faizanarif
Автор

I really like this kind of tutorials I didnt see a lot of content that reads the official django documentaion
and explains each section so brief but informative (maybe I didn't look enough )
thank you please create more content like this

TheMrmaster
Автор

I love this style of videos, thank you

nicenaija
Автор

I feel like Django moving way too slow compare to other frameworks like Laravel and Next.js

codernerd
Автор

Thank you, I wish you could upload more material of Django, I leave like and sub

Deus-lo-Vuilt
Автор

Make a video on Django react crud operation with login sign up auth

Pradeep_prasad
Автор

Can someone test 'LoginRequiredMiddleware' be used django all-auth? I might be a unique case, but with django all-auth and the LOGIN_URL set get the thing redirecting like crazy and I get ERR_TOO_MANY_REDIRECTS .

Most likely just me but would love feedback.

Thanks

gavinjones
Автор

Can you do sorting on user__username ?

rmireckiyt
Автор

I want Django to natively support sqlalchemy. As much as I like Django ORM SA is just miles above it

leftblank
Автор

list_display = ["foreign_field__field", ] :D :D :D

jpongthep
Автор

hi i have register, login and dash pages i make LoginRequired on my dash when i enter to dash by ulr it goes to login but when i make login i kept in the login page is not going to dash and get this url [23/Aug/2024 00:28:00] "GET /pages/login?next=/pages/dash HTTP/1.1" 200 10805, the ulr and the view all is correct can u help me with this ? why i kept in login page and how to fix it

MahmoudDuhaidi