Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn Django by building a stock management system - Part 2
Rating: 4.4 out of 5(69 ratings)
4,215 students

Learn Django by building a stock management system - Part 2

Django Framework
Last updated 3/2021
English

What you'll learn

  • Learn Django web framework
  • Learn web development
  • Develop a functional stock management system

Course content

1 section16 lectures1h 51m total length
  • Introduction1:12
  • Including Navbar using include keyword6:57

    Learn to share the navigation bar across pages by extracting it into an include file and inserting it with Django's include tag, enabling single updates across the site.

  • Displaying Data in a Table5:45
  • Querying Data from the Database6:27
  • Form Validation6:25

    Learn how to validate user input in a Django stock management app by enforcing required fields, preventing duplicates, and applying custom form validation to ensure data reliability.

  • Updating Data in Django8:47
  • Delete and Confirm Delete6:49
  • Working with Choice Field in Django2:19
  • Understanding Django's ForeignKey Field10:10
  • Export to CSV6:08
  • Django Messages and Notification3:21

    Learn to implement Django messages to notify users after adding or deleting items in a stock management app, displaying success messages in templates and updating views accordingly.

  • Working with Datefield10:08
  • Adding details page5:20
  • Issuing and Receiving Items10:23

    Update stock levels by issuing and receiving items using forms, linking to details, and saving changes to reflect updated quantities and success notifications.

  • Setting up MySQL Server13:26
  • Stock Reorder Level8:01

    Set up item-specific reorder levels and alerts when stock falls to the threshold, highlight low quantities, and create a form to update and test reorder levels.

Requirements

  • Part 1 of this course, titled: Learn Django by building a stock management system - part 1

Description

This is part 2 of 3 of the course "learn Django by building a stock management system course" where we started building a complete stock management system.

I highly recommend you go through part 1 before starting this course where we start building the application. This course is a continuation of Part 1:

This course covers the following topics:

Django Include keyword, where we use one navbar template for multiple body templates. This allows us to modify a link once and will be modified throughout the application.

How to Display Data in an HTML Table, formatting and coloring the table.

Implementing search in our Django application to query data from the Database.

Form validation to prevent duplicate data into our application

Updating Data in Django

Implementing how to delete and confirm delete

Implementing ChoiceFileds in Django

Working with ForeignKeyField and setting them up as a dropdown list

Exporting Data to a CSV file

Django Messages and Notifications to give feedback to the user of the application about their operations

Working with Django DateFields and updating the Database models

Adding details page to see more information of the data saved in the Database

Doing calculations in Django. This is where we cover issuing and receiving stock items

Configuring our application to connect to a MySQL Database

and Finally Stock reorder level alert. This is where users of the application are alerted when the stock reaches a level set by the user.

After going through this course, you are now ready for Part 3.

Happy Coding:)

Who this course is for:

  • Beginners and intermediary interesting in web devepment