CRUD OPERATION IN DJANGO (create,read,update,delete operations in django)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello friends good morning so today we are developing a new project which is so first we all need to create the simple yango project so i'm creating my ukuleles on desktop so first i open command project names so i write a command django you guys add me you get another project name if you are checking out close it new directory for all html files which is templates now but i am opening this project in my vs editor so i usually like code in editor now here so now i am setting up my jungle project so first of all i need to import the oil smaller then i yeah i let compare directly to paste things like now i save the project and now we need to create one application so for creating a new application our command is tango python management app and our app name is here is now add this main actual installed apps now i add main app now i am creating a url which is linked into our application so these points this is index page so i created one for this function first i need to import my views and the name equals to index oh now i like now i run my project i can't manage foreign in a table so i am designing it first i imported in that and a specifically response and i return request from index.html i create a new html file as index.html so i i use bookstop for designing so i will scrap i am copying the starter template book scrap so yeah i got this copied and i have placed it here and i am uncommenting this is all okay [Music] we we have to design our form first form so first [Music] here we add a link called activity and [Music] okay so having a shoulder simple application now we are okay we need to create a simple form so i create a container so is completed now so now we need to create our database model so we have item name item description so we need to create a model here we create the database model from the television chaos because manage um viewer and make my directions you know my little personal management viewer successfully i'm [Music] is okay now i need to create form so here is my form file and i put him for name equals to item and description name and action on submit okay you come to the url add to our add i one you haven't so here see once okay and i check here here i am not imported import so all the functions that are important here now i get this local method because they first post and then if a little release else okay i know i features are important so then because for the situation of click object name item and item name name and description description okay so i single item message yes itself is i keep this button and remembering success okay so the item is successfully but item is not showing here so we need to show here items so we are flicking our items here so here here we go here i'll first i come in list because i come from click on item and pass between context released all foreign now we have to delete the logic so here we get the url on the left button for the volume okay now we create a function which is updated to us okay i know i switched to the um which is my id so i come equals to i thumb of id it was to my id okay now i from wrote is is here index file context okay and index or i in icon list okay foreign [Music] random here text [Music] oh created a new url on edit button so i simply copy this url and place it right here thank you um so i passed this i fixed okay still in xp and it clicks if now i want to modify this form so i here if same underscore okay now i need to click same form for edit item copy and if i paste this inside this if okay and this post and i i come name i put to value value it was to say underscore items is is [Music] is [Music] [Music] description and name is restriction okay now i see this item i don't know and i show messages okay so now i am i'm getting my product and this and select icon id okay okay so i had now here see all the items are simply cloud application you can you must try this application thank you thanks
Info
Channel: topprojectworld
Views: 1,049
Rating: undefined out of 5
Keywords:
Id: 0WoxYoAtp3Q
Channel Id: undefined
Length: 30min 13sec (1813 seconds)
Published: Tue Sep 14 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.