Город МОСКОВСКИЙ
00:07:11

Python Django Tutorial #12: Django permissions, Django login required mixin | Django blog project

Аватар
Про Vue
Просмотры:
23
Дата загрузки:
28.11.2023 16:27
Длительность:
00:07:11
Категория:
Обучение

Описание

This Python Django Tutorial video is about Django permissions, how to restrict access to pages using of Django login required mixin. It's the 12th part of the Python Django tutorial.

In this Django permissions and restricting access tutorial I wanted to show how to restrict access of unauthorized users to views that handle requests for editing and deleting posts and tags of our Django blog.
And Django restricting access can be achieved by using the loginrequiredmixin (login required mixin), that I mixed to my class based views. Because the LoginRequiredMixin is a Python class. Also Django restricting access was implemented on templates level by using is_authenticated and is_staff checking of a user.

In short: This Python tutorial is about Django permissions and Django restricting access tools like using of LoginRequiredMixin and checking in templates.


Follow me @:
Telegram: https://t.me/red_eyed_coder_club
Twitter: https://twitter.com/CoderEyed
Facebook: https://fb.me/redeyedcoderclub

➥ Please ➥ Like ➥ Comment ➥ Subscribe


============ SOURCE CODE ================
?️ The SOURCE CODE is available via Patreon:
https://www.patreon.com/posts/django-3-blog-34240101
======================================


✴️✴️✴️ Web Scraping course ✴️✴️✴️
is available via Patreon here:
https://www.patreon.com/red_eyed_coder_club

or its landing:
https://red-eyed-coder-club.github.io/courses/practical-python-web-scraping


▶️ This Django blog tutorial. List of videos:

#0. Demo
https://www.youtube.com/watch?v=WeaL8o19D_E

#1. Django Project Structure
https://www.youtube.com/watch?v=ZD_o3t0q5N4

#2. Routing and Handling requests
https://www.youtube.com/watch?v=eD2MOPV6zlM

#3. Template Inheritance
https://www.youtube.com/watch?v=xj1Oe8fyuSA

#4. Models. Blog Posts
https://www.youtube.com/watch?v=dsphgn4S75I

#5. Tag Model and ManyToMany Relationships
https://www.youtube.com/watch?v=bSmJv_rtir8

#6. Class Based Views and using Mixins
https://www.youtube.com/watch?v=bjuS1ryMOmw

#7. Django Forms. Creating Tags.
https://www.youtube.com/watch?v=O_kPAoroGxc

#8. Forms. Creating Posts
https://www.youtube.com/watch?v=O_kPAoroGxc

#9. Updating via Forms
https://www.youtube.com/watch?v=Xin4hjyMe6E

#10. Deleting via Forms
https://www.youtube.com/watch?v=vHSxCTcF04w

#11. Using custom CSS
https://www.youtube.com/watch?v=OmKLrpYlhZ4

#12. Django permissions, Django restricting access with LoginRequiredMixin class
https://www.youtube.com/watch?v=SfGcy5IF_Xo

#13. Django Pagination
https://www.youtube.com/watch?v=pyElWFn3XT4

#14. Django Basic Search
https://www.youtube.com/watch?v=d7P5oF7RgFM


✴️✴️✴️ PLAYLISTS ✴️✴️✴️

?Django 3 Tutorial: Blog Engine
https://www.youtube.com/watch?v=WeaL8o19D_E&list=PLe4mIUXfbIqbbqgDSY6z9orgzIwvYZjtw

?Kivy Tutorial: Coppa Project
https://www.youtube.com/watch?v=KftWys2cUfs&list=PLe4mIUXfbIqbeT-2SxDy_IbQYU4yn2gA6

?Telegram Bot with Python (CoinMarketCap)
https://www.youtube.com/watch?v=cX8m3sp_w84&list=PLe4mIUXfbIqbpQkE2Q_iQic6a8v-2k_m4

?Python Web Scraping
https://www.youtube.com/watch?v=m4hEAhHHykI&list=PLe4mIUXfbIqZkxlbr5cUVhn3LQOWQ67Bd


➥➥➥ SUBSCRIBE FOR MORE VIDEOS ➥➥➥
Red Eyed Coder Club is the best place to learn Python programming and Django:
Subscribe ⇢ https://www.youtube.com/channel/UCh_LSaTv2GeZ3woJNTGihew?sub_confirmation=1

Python Django 3 Tutorial #12: Django permissions, Django login required mixin | Django Crash Course
https://youtu.be/SfGcy5IF_Xo


#django #djangopermissions #redeyedcoderclub

Рекомендуемые видео