Тёмный

Build an Inventory Management System with Python and Django: A Step-by-Step Tutorial 

Legion Script
Подписаться 4,9 тыс.
Просмотров 43 тыс.
50% 1

In this tutorial, we'll walk you through the process of building an inventory management system using Python and Django. We'll cover essential concepts such as Django forms, authorization, and handling quantity alerts using Django messages.
You'll learn how to create Django forms to add new inventory items, update existing items, and delete items from the inventory. We'll explore how to implement Django authorization to control user access and protect sensitive operations. Additionally, we'll show you how to leverage Django messages to display alerts when the quantity of an item falls below a certain threshold.
By the end of this video, you'll have a solid understanding of how to utilize Django's powerful features to build a robust inventory management system. Join us on this coding journey and enhance your Python and Django skills while creating a practical application that can be applied to various industries. Don't miss out on mastering these essential concepts in web development!
Timestamps:
0:00 - Intro
2:11 - Project Setup and Index View
9:20 - Navbar
21:12 - Register, Login, Logout User
47:13 - Updating Navbar Links
50:20 - Finishing Touches to Auth Pages
51:51 - Build Index Pages
55:21 - Setup Dashboard Page
1:08:47 - Display Items in Template
1:20:26 - Require Login for Dashboard
1:23:41 - Create New Item
1:41:18 - Edit Item
1:47:24 - Delete Item
1:54:23 - Quantity Alerts
Code:
github.com/legionscript/inven...
Free Courses on LegionScript.com
www.legionscript.com/

Наука

Опубликовано:

 

8 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 38   
@codedjango
@codedjango Год назад
Thank you so much 👍
@benjaminquiroz6818
@benjaminquiroz6818 6 месяцев назад
im in the 62 minute and at this point, this is the best tutorial ive ever seen of a web project. congrats mate
@xo1063
@xo1063 5 месяцев назад
did you find any problems while completing the project????...or did u just complete till 62 mins only
@isberabah1
@isberabah1 Год назад
Thank you so much 🥰😃🥰🥰🥰🥰
@albert7439
@albert7439 Год назад
Thanks!
@parthbarot-nc8mr
@parthbarot-nc8mr 8 месяцев назад
Can we move this project into cloud and implement as a Cloud Inventory management system ?
@jarrodolivier6317
@jarrodolivier6317 Год назад
why @ 38:20 was password confirmation not entered but signup was successful?
@300zxster
@300zxster 10 месяцев назад
Which version of python and Django are you using in this video?
@nehat786
@nehat786 Год назад
Good to see you back sir.
@LegionScript
@LegionScript Год назад
Thanks for watching the videos! I ended up needing to take a little bit of time off but now I'm ready to make this a more consistent thing again!
@nehat786
@nehat786 Год назад
@@LegionScript sounds great sir stay blessed
@Mr_aviation_shorts
@Mr_aviation_shorts 4 месяца назад
can you share the requirements.txt too? it's not on github
@a.n.t.r
@a.n.t.r 6 месяцев назад
Hello, it doesn't work when I log out. Whenever I go to /logout or when I click logout, the page shows "This page isn’t working." Do you have any ideas on how to fix this?
@jeremyeddlemon
@jeremyeddlemon 4 месяца назад
Same.
@SabinTV-NP
@SabinTV-NP 3 месяца назад
40:39 Hey man, thank you for the work you do. It seems like the LogoutView has been depricated. No matter how many times I try visiting to my logout url, I get a HTTP error 405. Can you help me out?
@kronchybitz1223
@kronchybitz1223 3 месяца назад
Did anyone find a fix for the logout issue? Im having the same thing.
@kamleshbehera1947
@kamleshbehera1947 2 месяца назад
How can I add category ??
@tehman4815
@tehman4815 11 месяцев назад
Hello Brother! I want to add two more columns for CostPrice and SellPrice. How can I add them
@lydiaahope9776
@lydiaahope9776 2 месяца назад
The fix I found for the logout issue: In navigation.html after "{{ user.username )) " put: {% csrf_token %} Log Out And in settings.py at the bottom under LOGIN_REDIRECT_URL = '/dashboard' put LOGOUT_REDIRECT_URL = '/login' This makes it to when you logout it redirects you to the login page instead of a logout page. I can't figure out the issue to make it to where the logout page works appropriately, but this should appropriately log the user out. If anyone solves the actual logout page issue please let us know. I went through quite a few steps of troubleshooting and still couldn't get the logout page to load appropriately without a "GET /logout/ HTTP/1.1" 405 0 error.
@abdallabenomran
@abdallabenomran Месяц назад
Thanks so much, you gave me a good start to figuring it out! I found I could make it pretty much exactly how he has it with this code. {% csrf_token %} Sign Out This actually does take me to the logout page, so if it doesn't for you then it's an issue somewhere else, maybe the url's. Note: the hover color doesn't work on it, feel free to fix that and post it
@OfficialAbyMusic
@OfficialAbyMusic 5 месяцев назад
Can we populate the inventory with excel/smartsheet file data?
@sidds09
@sidds09 Год назад
great. do some advance projects now. or may a part two of it with more features.
@LegionScript
@LegionScript Год назад
Yeah I think some more advanced projects could be useful. I'm working on building a list of some and hopefully will start working through them soon!
@nico3006
@nico3006 Год назад
yeah a part two would be nice with new features
@Chucklarry
@Chucklarry 11 месяцев назад
After hitting get started I’m able to get to my login page. I get error page after logging in. I’m not able to get to my dashboard with an account . When I go back to the main page it shows my login id on the top right. I think it’s a thing about the crispy forms but I’m not able to figure out the problem. It’s just the same with the online delivery app. Always get an error page telling me account/profile can’t be found.
@Chucklarry
@Chucklarry 11 месяцев назад
Help please!
@benjaminquiroz6818
@benjaminquiroz6818 6 месяцев назад
hi broder, i followed all the tutorial and it works almost completely fine, ive got a problem with the logout. i get this error:Method Not Allowed (GET): /logout/ Method Not Allowed: /logout/ "GET /logout/ HTTP/1.1" 405 0 Do u know wath can be?
@eclectic1982
@eclectic1982 5 месяцев назад
I'm stuck at the same point. A google suggests it needs to be sent as a post request? So Im following further along now hoping as he fleshes it out it starts to make sense.
@23reebapatel79
@23reebapatel79 3 месяца назад
did it work?@@eclectic1982
@jeremyeddlemon
@jeremyeddlemon 4 месяца назад
Logout does not work.
@jeremyeddlemon
@jeremyeddlemon 4 месяца назад
I found a fix to the logout issue.
@LoukasA420
@LoukasA420 4 месяца назад
What is it?@@jeremyeddlemon
@arcxcc
@arcxcc 4 месяца назад
@@jeremyeddlemon comment the solution here? seems like its a common place people are getting stuck at
@kronchybitz1223
@kronchybitz1223 3 месяца назад
could you share plz?
@pavitphilip7216
@pavitphilip7216 2 месяца назад
@@jeremyeddlemon could you share the solution to it
@BunnyBani-do6td
@BunnyBani-do6td Месяц назад
Hello, it doesn't work when I log out. Whenever I go to /logout or when I click logout, the page shows "This page isn’t working." Do you have any ideas on how to fix this?
Далее
Learn Django in 20 Minutes!!
21:25
Просмотров 322 тыс.
How to NOT Fail a Technical Interview
8:26
Просмотров 1,3 млн
Yeni Özbək Mahnisi Yoxsa Vefali Reqsi? 😍
00:36
Просмотров 2,9 млн
3 Python Projects I’d Put On MY Resume
14:49
Просмотров 53 тыс.
`const` was a mistake
31:50
Просмотров 126 тыс.
Build an SQL Agent with Llama 3 | Langchain | Ollama
20:28
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Has Generative AI Already Peaked? - Computerphile
12:48
Difference between cookies, session and tokens
11:53
Просмотров 595 тыс.
5 Coding Projects That Give You An UNFAIR Advantage
9:40
Acer Predator Тараканьи Бега!
1:00
Просмотров 239 тыс.
КРУТОЙ ТЕЛЕФОН
0:16
Просмотров 3,2 млн