In this video, you will learn about views.py in Django. Specifically function based views for get requests.
You will learn about:
How to create a view in Django (function based view)
How to render a template in Django using Function based views.
How to redirect the user to another page
How to pass JSON response.
In the upcoming video, you will learn how to create class-based views (cbv) and how to handle post data in views.
Learn Django from this Django 5.x crash course.
In this Django crash course or Django Beginners tutorial, we will learn Django from scratch and we will create a simple blog application using Django 5.
This is a beginner-friendly Django course.
Python Crash Course: • The Ultimate Python Crash Course (Part 1) ...
Migrations Simplified: • Mastering Django Migrations: Create, Apply...
Django Management Command Simplified: • Django Custom Management Command Tutorial ...
Master Django Middleware: • Mastering Django Middleware: The Ultimate ...
Realtime communication (using Django Channels): • Live Data in Django using Django Channels
Django Custom User model: • Take Your Django Skills to the Next Level:...
Django Celery and Redis: • Mastering Django Celery and Redis || Code ...
Django ORM Basics: • Django ORM Basics Series: Part 1 (Project ...
Timestamps:
0:00 Intro to Django views
0:31 What are views in Django
0:43 How views work
1:03 Create a view
2:32 Render HTML file
5:55 Context dictionary with Django template
8:33 Redirect from views
10:00 Redirect to views
10:51 Redirect using URL name
11:28 Pass dynamic data in the URL name
14:07 Return JSON Response
🔔 Subscribe: https://bit.ly/3ChaNj8
Join this channel to get access to perks: / @codewithsj
Connect with me:
Linkedin: / jha-shubham
FB group: / djangodrf
My laptop: https://amzn.to/3TusAcR
Phone Camera: https://amzn.to/44vDfbM
Tripod Stand: https://amzn.to/3pxDJzr
Monitor: https://amzn.to/3qIeF4X
Keyboard: https://amzn.to/3Ad7R3B
Main Mic: https://amzn.to/3Q8gcwa
Mic: https://amzn.to/3yfIkVH
SSD: https://amzn.to/3hb4By7
External HDD: https://amzn.to/3wcMtYU
Thank you, everyone, for watching this video. If you have any questions, do comment below. Do like, subscribe, and share more such videos on Django and Django Rest Framework.
Presented by Bestlatech (bestla tech)
Tune in Again