Python Django Mysql - CRUD Example Part 1 - Create and Insert in Mysql Database

preview_player
Показать описание
#techlearners
Python Django Mysql
CRUD - Create, Read, Update, Delete
Part 1 Create and Insert

Prerequisite
1. Running DJango project - created
2. Mysql server Installation

Step 1 - Create a database mydjangodb in mysql

Step 3 - Create a template in django app to insert data

Step 7 - Run command in the terminal to create migrations

Step 8 - Run command in the terminal to migrate databases

Step 9 - In mysql command line view the description of table using desc command

Step 13 - Run server and insert data using template

Step 14 - Login to mysql and query database table to confirm data insertion

Part 2 - Read or Fetch data from database and display on webpage

TECHLEARNERS BY NEERAJ SAXENA
Рекомендации по теме
Комментарии
Автор

This is truly the video I spent 3 hours trying to find.

Memeparable
Автор

Great presentation and easy to catch up the key points. Thanks sir for your effort to teach us online...

sundarsingapore
Автор

Thankyou so much sir .Best Channel for Django . sir please upload video how to check authentication using login form

gadesai
Автор

Superb sir
Can pls explain signin if uname and pw is valid then redirect to other page

asgeralia
Автор

Thank you sir! Excellent video! But I am facing an issue. Once I insert the user info and click the registration button, I do not redirect in the index page. But the user addition in the user table is done properly.

giannisk
Автор

great video thank you. Please do part 2

smangasimphiwe
Автор

I have a doubt if host this it will work we can see the datas perform update delete add

arunp
Автор

can you please share the part 2 video of crud operations in django?

thaneerukarthik
Автор

Can you please share that text file's path? It will be really helpful.

VigneshSahoo
Автор

Soo helpful, Thanks a lot!!
Also, while creating variables and using post method, the following syntax worked for me instead of what you have specified :
var_name = request.POST.get('orgName', False) --where false is the default value

anuragpant
Автор

When are u going to upload the next videos?

YASIR-uooo
Автор

Mysql> show tables;
(Then it is showing)
Empty set(0.00 sec)

vaishnavichavan
Автор

what is index.html and navbar.html not shown

varshagrvarsha
Автор

Sir, how can a new column be added to MySQL through Django?

pace_am
Автор

My table was not created in SQL...it was showing empty table

vaishnavichavan
Автор

Hi sir can you please teach how to login

vamsikrishna
Автор

Can you share this notepad file, it will helpful in future while making another project

nikhilchadha