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

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

Legion Script

54 года назад

69,162 Просмотров

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:
https://github.com/legionscript/inventory_management

Free Courses on LegionScript.com
https://www.legionscript.com/
Ссылки и html тэги не поддерживаются


Комментарии:

@TheCopperMystic
@TheCopperMystic - 18.10.2024 16:47

for some reason I am unable to do this projevt finding so many errors and difficulty as a beginner
1917 181024

Ответить
@TheCopperMystic
@TheCopperMystic - 17.10.2024 17:25

Can I do this in vs code?

Ответить
@Kizigira
@Kizigira - 23.09.2024 19:54

Starting from the middle of nowhere

Ответить
@fromarmania9103
@fromarmania9103 - 07.09.2024 17:41

Amazing lesson! Thank you for taking the time to create an insightful tutorial. I especially appreciated you showing us how to read documentations for further development.

Ответить
@tygomez4647
@tygomez4647 - 21.08.2024 22:37

Would this work as a final year project ??

Ответить
@anguschik8450
@anguschik8450 - 01.08.2024 10:09

how does the category get imported into the list that displays, where do i edit the categories itself

Ответить
@anguschik8450
@anguschik8450 - 01.08.2024 09:14

Hi can someone teach me how to add existing items towards an inventory. Would I have to manually upload it through the all or where do i add it

Ответить
@prml
@prml - 29.07.2024 16:33

Thank you for this brilliant tutorial!

Ответить
@BunnyBani-do6td
@BunnyBani-do6td - 12.05.2024 16:10

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?

Ответить
@kamleshbehera1947
@kamleshbehera1947 - 30.04.2024 12:28

How can I add category ??

Ответить
@kronchybitz1223
@kronchybitz1223 - 04.04.2024 22:07

Did anyone find a fix for the logout issue? Im having the same thing.

Ответить
@jeremyeddlemon
@jeremyeddlemon - 22.02.2024 17:44

Logout does not work.

Ответить
@Mr_aviation_shorts
@Mr_aviation_shorts - 10.02.2024 10:59

can you share the requirements.txt too? it's not on github

Ответить
@_asianz
@_asianz - 30.01.2024 02:10

For those stuck on the log out function and keep getting error 405, I found a fix. Under {% if user.is_authenticated %} on navigation.html; add this code as the logout button:
<li class="nav-item">
<form method="post" action="{% url 'logout' %}">
{% csrf_token %}
<button class="nav-link" type="submit">Log Out</button>
</form>
</li>

Ответить
@OfficialAbyMusic
@OfficialAbyMusic - 19.01.2024 01:34

Can we populate the inventory with excel/smartsheet file data?

Ответить
@a.n.t.r
@a.n.t.r - 24.12.2023 02:54

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?

Ответить
@benjaminquiroz6818
@benjaminquiroz6818 - 18.12.2023 20:12

im in the 62 minute and at this point, this is the best tutorial ive ever seen of a web project. congrats mate

Ответить
@parthbarot-nc8mr
@parthbarot-nc8mr - 28.10.2023 04:18

Can we move this project into cloud and implement as a Cloud Inventory management system ?

Ответить
@300zxster
@300zxster - 17.08.2023 11:40

Which version of python and Django are you using in this video?

Ответить
@Chucklarry
@Chucklarry - 20.07.2023 21:54

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.

Ответить
@tehman4815
@tehman4815 - 20.07.2023 09:26

Hello Brother! I want to add two more columns for CostPrice and SellPrice. How can I add them

Ответить
@isberabah1
@isberabah1 - 20.05.2023 11:57

Thank you so much
🥰😃🥰🥰🥰🥰

Ответить
@albert7439
@albert7439 - 18.05.2023 06:52

Thanks!

Ответить
@codedjango
@codedjango - 17.05.2023 17:20

Thank you so much 👍

Ответить
@sidds09
@sidds09 - 17.05.2023 16:31

great. do some advance projects now. or may a part two of it with more features.

Ответить
@nehat786
@nehat786 - 17.05.2023 16:01

Good to see you back sir.

Ответить